Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid overriding global key bindings #18

Open
CSRaghunandan opened this issue Nov 30, 2016 · 0 comments
Open

Avoid overriding global key bindings #18

CSRaghunandan opened this issue Nov 30, 2016 · 0 comments

Comments

@CSRaghunandan
Copy link
Contributor

CSRaghunandan commented Nov 30, 2016

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 to save-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 to find-file-read-only (why does this key binding exist? ivy-reusme by default is bound to C-c C-r, which is fine as is)
  • All the key bindgings that begin with prefix C-x c -> this overrides default binding for calc-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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant