emacs-bootstrap
emacs-bootstrap copied to clipboard
Avoid overriding global key bindings
It looks some of the key-bindings that you've made are overriding the default key bindings set by emacs. Some time ago, I had a lengthy discussion about the same issue here. I came into the conclusion to use C-c
prefix for most of my user defined key bindings so that they don't override with any default key bindings.
From my quick check here are some key bindings that are overriding the default key bindings:
- swiper
C-x s
-> this key binding is bound tosave-from-buffers
(I use this command a lot) - counsel-projectile
C-x v
-> This is the version control prefix - ivy-resume
C-x C-r
-> This is bound tofind-file-read-only
(why does this key binding exist?ivy-reusme
by default is bound toC-c C-r
, which is fine as is) -
All the key bindgings that begin with prefix
C-x c
-> this overrides default binding forcalc-mode
My suggestion would be to prefix user defined key bindings with C-c
instead of C-x
, so that we don't accidentally override any key bindings. It might be fine now, but as the user start assigning more bindings to commands, he'll quickly run out of C-x
prefixes which aren't bound to any command.