-
-
Notifications
You must be signed in to change notification settings - Fork 605
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
different key binding presets #57
Comments
👍 What I've found strange immediately after starting gitui was the different style in key bindings among them. The most stark was using letters for everything, but exiting with Do you think these could be unified? Thanks! |
Hey @hkdobrev thanks for your interest in Before Quit was bound to the Ultimately there is no single key bindings that satisfy everyone. This ticket and #43 shows that. The big advantage of Anyhow I hope solving this issue will allow you to setup any bindings you like :) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Just bumping this to stop the bot from closing. |
Top this, awesome tool and those binding would make it favourite. |
For vim-style keybindings, see https://github.com/extrawurst/gitui/blob/master/KEY_CONFIG.md or #1114 |
based off of #43 there is still the open issue of how to support different key bindings like
vim
,emacs
andnano
. I need input on those, cause I don't use them at all.The most flexible solution would be having
gitui
dump the default bindings into a config file (on first run) and load it on startup so people can alter it.My plan is to do it in 2 bigger changes:
1. make key bindings dynamic
KeyBindings
KeyBindings
commands::CommandText
to be dynamic since they reference the keys2. allow changing the bindings
serde
feature in crossterm to be able to serialise themron
to load/saveKeyBindings
The text was updated successfully, but these errors were encountered: