1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-07 01:09:45 +02:00

Move to next stageable line after adding a line to a custom patch

While it's true that the behavior is a little different from the staging panel,
where the staged lines are actually removed from the view and in many cases the
selection stays more or less in the same place, it is still very useful to move
to the next stageable thing in the custom patch building view too.
This commit is contained in:
Stefan Haller
2025-07-01 17:48:00 +02:00
parent 11196f279e
commit 27ce820442
4 changed files with 30 additions and 12 deletions

View File

@ -155,6 +155,8 @@ func (self *PatchBuildingController) toggleSelection() error {
state.SetLineSelectMode()
}
state.SelectNextStageableLine()
return nil
}