From 0e63da939cb0c2bacdee387100720e776b9494fb Mon Sep 17 00:00:00 2001 From: Philippe Dosch <Philippe.Dosch@loria.fr> Date: Wed, 24 Apr 2024 15:23:13 +0200 Subject: [PATCH] =?UTF-8?q?changement=20de=20cl=C3=A9=20pour=20scissors=20?= =?UTF-8?q?et=20snip-lines-mail?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .emacs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.emacs b/.emacs index 4c23aed..6921f12 100644 --- a/.emacs +++ b/.emacs @@ -1082,7 +1082,7 @@ (interactive) (insert scissors) (forward-line 1)) -(global-set-key (kbd "M-s s") 'scissors) +(global-set-key (kbd "M-s c") 'scissors) (defun snip-lines-mail () "Delete all lines except the first three in the current buffer selection. @@ -1110,7 +1110,7 @@ For the middle line, remove all characters after the prefix and insert '[snip]' (if (re-search-forward "^\\([ >]*\\)\\(.*\\)$" nil t) (replace-match "" nil nil nil 2)) (forward-line 1)))) -(global-set-key (kbd "M-s l") 'snip-lines-mail) +(global-set-key (kbd "M-s s") 'snip-lines-mail) ;;; .emacs ends here (provide '.emacs) -- GitLab