-
-
Notifications
You must be signed in to change notification settings - Fork 605
"Open editor" shortcut doesn't work (using vim bindings) #512
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
Comments
Can you run |
Here we go:
Relevant configs are here: https://github.com/savchenko/debian/tree/bullseye/roles/dotfiles/files/config/gitui |
oh wow. now I finally see it. the problem is that the vim keybindings seem to be having a bug. cause the text editor will actually swallow regular characters but still it binds to a capital can you try to alter this in your key bindings? the default would be |
Not quite sure if I follow :) However switching to Ctrl does work:
Interestingly, Shift modifier works in the main window just fine. |
the problem is simply that |
Seems like other shortcuts are affected as well. For example, default "reset item" aka Shift+D also doesn't work with vim bindings from https://github.com/extrawurst/gitui/blob/master/assets/vim_style_key_config.ron |
like I said its because shortcuts that are valid text characters will be picked up as such |
Right... Is it possible to have a "priority" for a shortcut? Say there is something assigned to , then pressing Shift+g will execute the assigned action instead of entering capital "G". |
If we give the open editor shortcut priority how do you want to allow people inserting a capital 'E'? I think the way to go here is a different shortcut in the vim bindings. |
maybe @yanganto the original contributor for the vim bindings can chime in, what would be a good alternative for |
Valid point.
Alternatively — provide an option to open an external editor by default? |
It may be good to use the @savchenko The default "reset item" is Thanks. |
Regarding two modes: I don’t see the point. It makes sense when text input is the primary purpose of a tool but this is not the case here and makes things only more complicated. |
Yes, I agree with you. |
Describe the bug
When Commit dialog is open and custom hotkey for "Open editor" is defined, pressing the hotkey does nothing.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Editor opens.
Screenshots

Context (please complete the following information):
Additional context
"Open editor" function within the main window works as expected. I have tried various key combinations for both.
The text was updated successfully, but these errors were encountered: