sublime_merge
sublime_merge copied to clipboard
Select previous file when the last file in a file group is staged/unstaged
Problem description
In the "files" pane, pressing Enter with a file selected, stages/unstages it, moves it into a new file group (modified/untracked/staged) accordingly, and then selects the next file.
If the selected file is the last file listed in its multi-file group, Sublime Merge selects the first file in the group as the next file. This makes it tedious to review changes from the bottom up because the selection isn't "continuous".
Preferred solution
Sublime Merge selects the file above the selected file as the next file, if the selected file is the last item in its group.
Screenshots
https://github.com/sublimehq/sublime_merge/assets/7352580/d9c30f92-1a64-4755-b226-b05fb3887e32
Notice how,
- With all 4 files untracked and
a
orc
selected individually, pressing Enter selectsb
andd
respectively. The next selection is "continuous". - With all 4 files untracked and the last file
d
selected, pressing Enter selectsa
instead ofc
.