-
-
Notifications
You must be signed in to change notification settings - Fork 105
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
Custom key bindings/commands #378
Comments
gitsh uses GNU Readline as its line editor, which can be configured with a In your case, I think you might be looking for something like:
Note that settings in your If you want to make this configuration apply only in gitsh, you can wrap it in a conditional:
See the readline(3) and gitsh(1) manual pages for more information. |
Given that this is already supported, I'm going to close the issue, but feel free to re-open if you think there's some missing functionality here. |
Thanks for the help. |
Hey there,
nice project! I really enjoy using it.
Is there a way to change key bindings?
In particular I'd be interested in a different C-p/n command.
In my zsh shell I've mapped C-p to backwards history search. So pressing C-p after typing
a
would result in the last command starting witha
instead of the previous command.Is there something similar?
(I probably should train myself to use C-r anyways, but still 😉)
Cheers
Jan
The text was updated successfully, but these errors were encountered: