mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-09 20:13:46 -05:00
"Undo" is a better name than "revert" because: - "revert" sounds like it has something to do with `git-revert` but they are entirely different; - "undo" is consistent with vim's "undo": discarding changes and going back to the original. Maintain backwards compatibility and add deprecation warnings. Closes #306.
8 lines
146 B
VimL
8 lines
146 B
VimL
source helper.vim
|
|
call Setup()
|
|
|
|
normal 5Gi*
|
|
execute 'GitGutterUndoHunk'
|
|
call DumpSigns('hunkUndoSigns')
|
|
call DumpGitDiffStaged('hunkUndoGitDiff')
|