From 0dc2b19ebeb9e0045328bc48fa369ae9de1a829b Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 11 Sep 2022 23:08:03 +0300 Subject: fix(tazjin/emacs): globally unbind `C-x s` This shortcut is so unbelievably annoying on some keyboards. Change-Id: I5c96d490fd42aa8422fa48be87079b60af81fcd3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6527 Reviewed-by: tazjin Autosubmit: tazjin Tested-by: BuildkiteCI --- users/tazjin/emacs/config/bindings.el | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'users') diff --git a/users/tazjin/emacs/config/bindings.el b/users/tazjin/emacs/config/bindings.el index 916d947756..7865046d3d 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) -- cgit 1.4.1