summaryrefslogtreecommitdiff
path: root/init/20-keymaps.el
diff options
context:
space:
mode:
Diffstat (limited to 'init/20-keymaps.el')
-rw-r--r--init/20-keymaps.el16
1 files changed, 16 insertions, 0 deletions
diff --git a/init/20-keymaps.el b/init/20-keymaps.el
new file mode 100644
index 0000000..f694d16
--- /dev/null
+++ b/init/20-keymaps.el
@@ -0,0 +1,16 @@
+(define-prefix-command 'replace-map)
+(global-set-key (kbd "C-c r") 'replace-map)
+
+(define-prefix-command 'kill-map)
+(global-set-key (kbd "C-c k") 'kill-map)
+
+(define-prefix-command 'comment-map)
+(global-set-key (kbd "C-c c") 'comment-map)
+
+(define-prefix-command 'insert-map)
+(global-set-key (kbd "C-c i") 'insert-map)
+
+;; multiple cursors
+;; put under insert prefix
+(define-prefix-command 'multiple-cursors-map)
+(define-key insert-map "m" 'multiple-cursors-map)