extrawurst / gitui

Blazing 💥 fast terminal-ui for git written in rust 🦀
MIT License
18.62k stars 573 forks source link

seperate stage/ustage all files keybindings #2352

Open masriomarm opened 2 months ago

masriomarm commented 2 months ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] unstagging all files and then staged and unstaged files are combined and no longer able to retrieve staged changes.

Describe the solution you'd like A clear and concise description of what you want to happen. unstage all files can have different keybindings, "A" instead of "a"

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered. none...

Additional context Add any other context or screenshots about the feature request here. add more keybindings as well to search for file in staged/modified files. and a keybindings to jump to next/previous modified file.

wugeer commented 2 months ago

This is a good idea if the command has nothing to do with the workspace, but the operation command of gitui is related to the workspace where the current cursor is, so the same key can mean different meanings in multiple workspaces, so it is good to use keybindings "a" for unstagging all files and staged all files. :)

masriomarm commented 2 months ago

Can unstagging be remapped?

wugeer commented 2 months ago

It's technically possible, but I don't think it's necessary. @extrawurst What's your opinion on this?

wugeer commented 2 months ago

Can unstagging be remapped?

@masriomarm The current existing functions are not supported, they share the same keybingds.