diff options
-rw-r--r-- | init/10-km-pkg.el | 1 | ||||
-rw-r--r-- | init/km-keybindings.el | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/init/10-km-pkg.el b/init/10-km-pkg.el index 488f2cf..9ed100f 100644 --- a/init/10-km-pkg.el +++ b/init/10-km-pkg.el @@ -18,6 +18,7 @@ lua-mode magit markdown-mode + multiple-cursors org paredit smex diff --git a/init/km-keybindings.el b/init/km-keybindings.el index 2cbe1ae..3d2f24b 100644 --- a/init/km-keybindings.el +++ b/init/km-keybindings.el @@ -17,3 +17,10 @@ (global-set-key (kbd "C-c r R") 'replace-regexp) (global-set-key (kbd "C-c c t") 'km/todo-comment) + +;; multiple cursors +;; put under insert prefix +(global-set-key (kbd "C-c i m l") 'mc/edit-lines) +(global-set-key (kbd "C-c i m n") 'mc/mark-next-like-this) +(global-set-key (kbd "C-c i m p") 'mc/mark-previous-like-this) +(global-set-key (kbd "C-c i m a") 'mc/mark-all-like-this) |