From a4d406e6e1b5a38a5c5f9dad06d52e446cf4b9ab Mon Sep 17 00:00:00 2001 From: Magnar Sveen Date: Thu, 26 Jan 2012 11:49:22 +0100 Subject: [PATCH] Conclude multiple-cursors-mode with - you can still add a newline with C-m if you're into that kind of pain. --- multiple-cursors.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/multiple-cursors.el b/multiple-cursors.el index b418811..22bf1c7 100644 --- a/multiple-cursors.el +++ b/multiple-cursors.el @@ -195,12 +195,13 @@ you should disable multiple-cursors-mode." (defvar mc/keymap nil "Keymap while multiple cursors are active. -Main goal of the keymap is to rebind C-g to conclude multiple -cursors editing.") +Main goal of the keymap is to rebind C-g and to conclude +multiple cursors editing.") (if mc/keymap nil (setq mc/keymap (make-sparse-keymap)) - (define-key mc/keymap (kbd "C-g") 'multiple-cursors-mode)) + (define-key mc/keymap (kbd "C-g") 'multiple-cursors-mode) + (define-key mc/keymap (kbd "") 'multiple-cursors-mode)) (define-minor-mode multiple-cursors-mode "Mode while multiple cursors are active."