about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-09-11T20·08+0300
committerclbot <clbot@tvl.fyi>2022-09-11T20·12+0000
commit0dc2b19ebeb9e0045328bc48fa369ae9de1a829b (patch)
treec22ee8707ab7486cd097dbffe3b29300b71fa92c
parentb6ab02e48bf9e852f495a01d79fc97a1409e0a8b (diff)
fix(tazjin/emacs): globally unbind `C-x s` r/4822
This shortcut is so unbelievably annoying on some keyboards.

Change-Id: I5c96d490fd42aa8422fa48be87079b60af81fcd3
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6527
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
-rw-r--r--users/tazjin/emacs/config/bindings.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/users/tazjin/emacs/config/bindings.el b/users/tazjin/emacs/config/bindings.el
index 916d9477568c..7865046d3db5 100644
--- a/users/tazjin/emacs/config/bindings.el
+++ b/users/tazjin/emacs/config/bindings.el
@@ -62,4 +62,8 @@
     (interactive)
     (notmuch-show-open-or-close-subthread t))) ;; open
 
+;; Get rid of the annoying `save-some-buffers' shortcut which I
+;; *NEVER* use intentionally.
+(unbind-key (kbd "C-x s") 'global-map)
+
 (provide 'bindings)