branch: elpa/multiple-cursors
commit e14fdb77a1f65465a61e8f69180505095cc2b7dd
Merge: c945665 d2766bc
Author: Magnar Sveen <[email protected]>
Commit: GitHub <[email protected]>
Merge pull request #298 from Quasilyte/update_readme
README: added a note about newlines in "tips and tricks"
---
README.md | 3 +++
1 file changed, 3 insertions(+)
diff --git a/README.md b/README.md
index e1de390..ddb55fa 100644
--- a/README.md
+++ b/README.md
@@ -101,6 +101,9 @@ You can [watch an intro to multiple-cursors at Emacs
Rocks](http://emacsrocks.co
first disable multiple regions before disabling multiple cursors. If you
want to
insert a newline in multiple-cursors-mode, use `C-j`.
+- `(define-key mc/keymap (kbd "<return>") nil)` will make `<return>` insert a
+ newline; multiple-cursors-mode can still be disabled with `C-g`.
+
- Sometimes you end up with cursors outside of your view. You can
scroll the screen to center on each cursor with `C-v` and `M-v` or you can
press `C-'` to hide all lines without a cursor, press `C-'` again to unhide.