Add GitOrig command to vim

This commit is contained in:
Talia 2019-11-18 13:48:13 +01:00
parent bae0247305
commit a08f4a7ceb
1 changed files with 1 additions and 0 deletions

View File

@ -198,6 +198,7 @@ command! Uncommited try
\| echo 'Not a git repo!'
\| endtry
command! GitRoot call <SID>cd_git_root('.')
command! GitOrig exec 'e '.b:git_original_file
command! ShowGitRoot try
\| echo <sid>gitroot()
\| catch | echo 'Not a git repository'