branch: elpa/multiple-cursors
commit 18f7f1ad665f5a4905ea40aa696cc41c0df8ff2f
Author: Magnar Sveen <[email protected]>
Commit: Magnar Sveen <[email protected]>
More white-listed commands for multiple cursors.
- a black-list would be more ballsy, but also possibly more destructive.
---
multiple-cursors.el | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/multiple-cursors.el b/multiple-cursors.el
index 671a169..b418811 100644
--- a/multiple-cursors.el
+++ b/multiple-cursors.el
@@ -141,8 +141,14 @@ from being executed if in multiple-cursors-mode."
delete-char c-electric-delete-forward
delete-backward-char c-electric-backspace
zap-to-char
+ end-of-line
+ move-end-of-line
move-end-of-line-or-next-line
- move-start-of-line-or-prev-line))
+ beginning-of-line
+ move-beginning-of-line
+ move-start-of-line-or-prev-line
+ dired-back-to-start-of-files
+ back-to-indentation))
(defun mc/execute-command-for-all-fake-cursors (cmd)
"Calls CMD interactively for each cursor.