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

Keybinding Syntax #8

Closed
jojojames opened this issue Nov 5, 2017 · 1 comment
Closed

Keybinding Syntax #8

jojojames opened this issue Nov 5, 2017 · 1 comment
Labels

Comments

@jojojames
Copy link
Collaborator

jojojames/evil-integrations#1 (comment)

(14) This is a nit, really, but what about the key binding syntax? I see you use vectors and strings of escape control sequences like "\C-c\C-c". I used to do that, but then some sequence cannot be represented easily, like .
I'm now using the following convention: write them like C-h c displays them. It's better for clarity I think, and we want any user to be able to read our bindings. Motto: be as transparent as possible.

Without modifier not special keys, use a simple string, e.g. "gd".

Anything else in (kbd ...). Use the <bracket> notation for special keys.

Works for me. We can take care of normalizing this stuff after we've gotten everything into one repo.

@Ambrevar Ambrevar added the MELPA label Nov 9, 2017
@jojojames jojojames mentioned this issue Nov 14, 2017
@Ambrevar
Copy link
Collaborator

I took care of it to the extent I could. Feel free to re-open if something does not work for you.

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

No branches or pull requests

2 participants