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

Show mappings of commands in menu #94

Open
jrwrigh opened this issue Apr 13, 2019 · 2 comments
Open

Show mappings of commands in menu #94

jrwrigh opened this issue Apr 13, 2019 · 2 comments

Comments

@jrwrigh
Copy link

jrwrigh commented Apr 13, 2019

It'd be nice to show the mappings for commands when a menu is opened. For example, lazygit does it like this:
image

It'd help to serve as a quick and easy reminder on how to use the program efficiently, rather than having to consult the help menu. Even better if you could then use those keys to execute the command as well.

It'd also be nice if those key commands could auto-update for remaps, but I think that leaving them as the default mappings wouldn't be too bad.

@rgburke
Copy link
Owner

rgburke commented May 1, 2019

Hi, thanks for the suggestion, I agree that's a nice idea. Master has been updated with this functionality so that the menus look like:

image

Pressing the keys highlighted in blue will execute the corresponding actions. User defined mapping are also shown. For example, the www mapping above was added with:

map RefView www <grv-checkout-ref>

@jrwrigh
Copy link
Author

jrwrigh commented Aug 26, 2019

Is it possible you can make a new release with this change in it? It'd make it much easier to get to it.

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

No branches or pull requests

2 participants