The ability to revert a diff hunk was added in Sublime Text 4. You can access it through the Command Palette command “History: Revert Hunk.” For quicker access, you can use a custom NeoVintageous mapping.

I like to map undoing hunks as <leader>hu. This is the mapping used by vim-gitgutter, the popular vim plugin.

let mapleader=,
nnoremap <leader>hu :RevertHunk<CR>

You can edit your rc file via the Command Palette command: NeoVintageous: Open RC File.

You can reload your rc file via the Command Palette command: NeoVintageous: Reload RC File.

Jumping to diffs

Support for jumping to diffs was added in Sublime build 3189. In previous builds, you’ll need the Git Gutter plugin. You can jump to the next and previous diff with the commands ]c and [c.

Further reading

  • :help neovintageous
  • :help [c
  • :help ]c