]> git.rmz.io Git - dotfiles.git/blobdiff - vim/vimrc
vim: use :Cdr and :LCdr to go to GitDir
[dotfiles.git] / vim / vimrc
index b4d3a3e5642679a7e4b95fbf6f3e0618b4befee1..111e2ff1e12deb45335af897464e4bef4642bbfb 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -839,8 +839,8 @@ function! FindGitDirOrHome()
   endif
 endfunction
 command! Cd cd %:h
-command! Cr execute('cd ' . FindGitDirOrHome())
+command! Cdr execute('cd ' . FindGitDirOrHome())
 command! LCd lcd %:h
-command! LCr execute('lcd ' . FindGitDirOrHome())
+command! LCdr execute('lcd ' . FindGitDirOrHome())
 
 " vim:set et sw=2 ts=2 tw=78: