Add vim GitDiff command
This commit is contained in:
parent
8cf20e57f9
commit
f79d612b7c
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,6 @@
|
|||
" ┌─┴─┴───┴─┴───┴─┴─┐ "
|
||||
" ┌┘ Git Stuff └┐ "
|
||||
" └───────────────────┘ "
|
||||
|
||||
augroup git
|
||||
|
||||
" Find the root of a git repository
|
||||
|
@ -277,5 +276,6 @@ command! ShowGitRoot try
|
|||
\| echo <sid>gitroot()
|
||||
\| catch | echo 'Not a git repository'
|
||||
\| endtry
|
||||
command! GitDiff diffthis | vert bel split | exec "silent GitPrev" | diffthis
|
||||
|
||||
augroup END
|
||||
|
|
Loading…
Reference in a new issue