You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'd like to use gitsigns.nvim as a sort of interactive replacement for git add -p. When the hunks of one file end, git add -p will start inspecting the hunks of the next file. So far I haven't found a way to replicate that easily with gitsigns.nvim
Describe the solution you'd like
A next/prev hunk command or something similar that will advance to the next file, rather than wrap to the start of the file or stop advancing.
Describe alternatives you've considered
Writing a custom function that is essentially ...
if not at_last_hunk:
next_hunk()
return
file = get_next_unstaged_file_in_the_git_repository()
if not file:
stop
return
:e file
"if at the end of the hunks in this file, look up what the next unstaged git file path may be and switch the window to there" function.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I'd like to use gitsigns.nvim as a sort of interactive replacement for
git add -p
. When the hunks of one file end,git add -p
will start inspecting the hunks of the next file. So far I haven't found a way to replicate that easily with gitsigns.nvimDescribe the solution you'd like
A next/prev hunk command or something similar that will advance to the next file, rather than wrap to the start of the file or stop advancing.
Describe alternatives you've considered
Writing a custom function that is essentially ...
"if at the end of the hunks in this file, look up what the next unstaged git file path may be and switch the window to there" function.
The text was updated successfully, but these errors were encountered: