summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2013-11-06 14:35:25 -0500
committerKyle Meyer <kyle@kyleam.com>2013-11-06 14:35:25 -0500
commitce4e715cf7da53278aa4c5ba0f6f5b2455a5c161 (patch)
treeafcce5501e76042ff995718f62d2ffc29c68936f /init
parentd98b0a8d850b360c4c6e0aa4d35f35fbab948e9e (diff)
downloademacs.d-ce4e715cf7da53278aa4c5ba0f6f5b2455a5c161.tar.gz
Install multiple cursors
Diffstat (limited to 'init')
-rw-r--r--init/10-km-pkg.el1
-rw-r--r--init/km-keybindings.el7
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)