jesseduffield / lazygit

simple terminal UI for git commands
MIT License
53.72k stars 1.87k forks source link

Action panel for faster commands #4008

Open TheUnlimited64 opened 1 month ago

TheUnlimited64 commented 1 month ago

Describe the solution you'd like I want a keybind that allows to quickly execute actions via text. Like vscode ctrl+p does. It could simplify the process of learning the keybinds if someone just types "rebase" it shows "interactive rebase" and the associated keybind.

Its also very helpful for actions that aren't used frequently.

mark2185 commented 1 month ago

Well, many things are context specific so it could just confuse the user, but there is the help menu (?) that you could open and search through with /, does that help?

TheUnlimited64 commented 1 month ago

Didnt knew that I can search via /, but wouldn't be possible to have the action panel reflect the same as the help panel? It wouldn't be as smart as it should be, but it could be an improvement I think.

Next step would be if it could be context smart? But maybe could be a bit confusing. But the help panel is also confusing. I did open the help menu inside the branch box and it gave me "p" as a keybind, But "p" is also global for pulling, that was quite confusing