-
Notifications
You must be signed in to change notification settings - Fork 60
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
add config with custom keyboard shortcuts #35
Comments
Actually I faced the problem too. And C-c is also a problem. :-( So, I've thinking which is better; Adding config or Change default keys. What do you think? |
Adding the ability to configure keys would be great! With custom key mapping you could also provide different basic flavours of key setups, I'm thinking about vi-style paging with C-f/b vs. mc-style paging with PageUp/Down. I'd be happy to work on this, shall I? |
Yes, I think that configurable keys would be better choice so everyone can do it on their way. |
@jzsfkzm @arozwalak I see. Actually, if we make this configurable, then easy to change the default keys. Thanks! |
The 'vi' one is the default one. To use 'mc' you will need to create a config file under ~/.config/git-commander/config.json with following content: { "keys": "mc" } Also you'll need to have an environment variable called GIT_COMMANDER_CONFIG set to the absolute path of the above config file.
I'm using git through screen where
Ctrl-a
is special combination to switch to screen options. So this way I can't use most of the keys from git-commanderThe text was updated successfully, but these errors were encountered: