gitui icon indicating copy to clipboard operation
gitui copied to clipboard

seperate stage/ustage all files keybindings

Open masriomarm opened this issue 1 year ago • 4 comments

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.

masriomarm avatar Sep 06 '24 11:09 masriomarm

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. :)

wugeer avatar Sep 14 '24 04:09 wugeer

Can unstagging be remapped?

masriomarm avatar Sep 14 '24 06:09 masriomarm

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

wugeer avatar Sep 14 '24 08:09 wugeer

Can unstagging be remapped?

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

wugeer avatar Sep 17 '24 02:09 wugeer