summaryrefslogtreecommitdiff
path: root/init/km-keybindings.el
blob: 4ed2001782d5cb2f96a33afcaefaeab46723fe27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
;; keybindings that don't go with other topics

(global-set-key (kbd "C-x \\") 'align-regexp)
(global-set-key (kbd "C-c i i") 'indent-relative)

(global-set-key (kbd "C-x K") 'kill-buffer-and-window)

;; overrides `suspend-emacs' (which is also bound to C-x C-z)
(global-set-key (kbd "C-z") 'zap-to-char)
(global-unset-key (kbd "M-z"))

(global-set-key (kbd "C-'") 'backward-kill-word)

(global-set-key (kbd "C-c r s") 'query-replace)
(global-set-key (kbd "C-c r S") 'replace-string)
(global-set-key (kbd "C-c r r") 'query-replace-regexp)
(global-set-key (kbd "C-c r R") 'replace-regexp)