Cycle through diffs in changed files with a shortcut. When at the end of a file, it will automatically jump to the next file.
Features
Go to next git change: alt+z / opt+z
Go to previous git change: alt+a / opt+a
Other features
Revert selected changes and save file: alt+q / opt+q
Go to next changed file: ctrl+alt+z / cmd+opt+z
Go to previous changed file: ctrl+alt+a / cmd+opt+a
If you use Tree view
If you use "Tree view" in the source control (as opposed to the default List view), go to settings and check off the setting Go to next change: Tree view. That will make the changes cycle in correct order.
Settings
Close File After Navigation (go-to-next-change.closeFileAfterNavigation, default: off) — When disabled, regular (non-preview) tabs stay open as you navigate through changed files. Preview tabs (italic) are still replaced automatically. Enable this to restore the original behavior of closing each file after navigating away.
Navigation skipped files when cursor was on line 0 — the original extension used a falsy check (!line) which incorrectly triggered when the cursor was on the first line of a file, causing it to jump to the next file prematurely.
Navigation got stuck on 1-2 files on Windows — path comparison between Windows-style paths (backslashes) from the clipboard fallback and Unix-style paths from the git extension caused findIndex to return -1, resulting in the extension always jumping back to the first file.
Navigation wraps around — after the last changed file, navigation continues from the first file, and vice versa.