[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/multiple-cursors a4d406e 011/434: Conclude multiple-cursor
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/multiple-cursors a4d406e 011/434: Conclude multiple-cursors-mode with <return> |
Date: |
Sat, 7 Aug 2021 09:19:44 -0400 (EDT) |
branch: elpa/multiple-cursors
commit a4d406e6e1b5a38a5c5f9dad06d52e446cf4b9ab
Author: Magnar Sveen <magnars@gmail.com>
Commit: Magnar Sveen <magnars@gmail.com>
Conclude multiple-cursors-mode with <return>
- 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 <return> 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 "<return>") 'multiple-cursors-mode))
(define-minor-mode multiple-cursors-mode
"Mode while multiple cursors are active."
- [nongnu] elpa/multiple-cursors 47e03d5 249/434: Release 1.2.2, (continued)
- [nongnu] elpa/multiple-cursors 47e03d5 249/434: Release 1.2.2, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 4a7fb32 059/434: Autotest, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors eda9952 058/434: Finally got the tests running. :-), ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 1d5b54e 070/434: Separate default cmd-lists and those populated by the end user., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 398cc9e 251/434: Merge pull request #92 from knu/mark_by_logical_lines, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors e8d7344 252/434: Fix the doc string of mc/mark-pop, which was not updated after a copy., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 45c6cd0 256/434: Add mc/mark-all-dwim, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors e28090d 259/434: Merge pull request #106 from porterjamesj/patch-1, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors d69ae15 073/434: Use setq for default lists to be able to re-evaluate., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 487e8be 006/434: Added docstrings to each function., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors a4d406e 011/434: Conclude multiple-cursors-mode with <return>,
ELPA Syncer <=
- [nongnu] elpa/multiple-cursors dcd9c52 022/434: Add new feature test., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 03dfc70 024/434: A working multiple-regions implementation, with some issues., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 1392027 031/434: Separate secondary stuff from core., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 759391e 045/434: Don't message about skipping known run-once commands, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 71f444a 050/434: Remove unused commands from whitelist., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 822bf18 056/434: Update test., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 700db99 062/434: Add kill-ring-save to whitelist., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors ed678df 061/434: Couple more core-tests., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors a19c8c3 077/434: Add cycle-backwards to once-list, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 51b282e 078/434: Switch to multiple-cursors-mode from rectangular-region-mode when doing expand-region, ELPA Syncer, 2021/08/07