summaryrefslogtreecommitdiff
path: root/init/20-keymaps.el
blob: 6a77a3de4bd0bb6fa277ab423d7472297e8d78a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
(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)

(define-prefix-command 'external-map)
(global-set-key (kbd "C-c x") 'external-map)