summaryrefslogtreecommitdiff
path: root/emacs.d
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-04-13 08:13:08 +0300
committerLars Wirzenius <liw@liw.fi>2021-04-13 08:13:08 +0300
commit281d2dca75e0019ea8fd8317dc751efa73c5b120 (patch)
treed1c2e0a555c18550fed07f9d89edf49490273e89 /emacs.d
parentbbfab6171de98c4a0fa8170e512b46ba3824c617 (diff)
downloadliw-dot-files-281d2dca75e0019ea8fd8317dc751efa73c5b120.tar.gz
emacs: globally unbind C-x C-b
I never use it intentionally, but I keep typing it by mistake when I mean C-x b.
Diffstat (limited to 'emacs.d')
-rw-r--r--emacs.d/init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el
index 96ca155..7433dec 100644
--- a/emacs.d/init.el
+++ b/emacs.d/init.el
@@ -142,6 +142,7 @@
(global-set-key (kbd "<f5>") 'compile)
(global-set-key (kbd "C-<f5>") 'recompile)
+(global-unset-key "\C-x\C-b")
(when (display-graphic-p)
(global-unset-key "\C-x\C-c")