From 9f9f6bb4151b40ca0fba1d9710f6a8f934532b9c Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sun, 1 Dec 2013 01:31:07 -0500 Subject: Set up prefix keys I didn't set for mode ('C-c m') and org mode ('C-c o') because (most) the values are local. --- init/20-keymaps.el | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 init/20-keymaps.el (limited to 'init/20-keymaps.el') 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) -- cgit v1.2.3