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 └┐ "
|
" ┌┘ Git Stuff └┐ "
|
||||||
" └───────────────────┘ "
|
" └───────────────────┘ "
|
||||||
|
|
||||||
augroup git
|
augroup git
|
||||||
|
|
||||||
" Find the root of a git repository
|
" Find the root of a git repository
|
||||||
|
@ -277,5 +276,6 @@ command! ShowGitRoot try
|
||||||
\| echo <sid>gitroot()
|
\| echo <sid>gitroot()
|
||||||
\| catch | echo 'Not a git repository'
|
\| catch | echo 'Not a git repository'
|
||||||
\| endtry
|
\| endtry
|
||||||
|
command! GitDiff diffthis | vert bel split | exec "silent GitPrev" | diffthis
|
||||||
|
|
||||||
augroup END
|
augroup END
|
||||||
|
|
Loading…
Reference in a new issue