From 1d61f08ff82df4565004b06f4d4b959ba841edc0 Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Fri, 2 Mar 2018 09:24:40 +0000 Subject: [PATCH] vim: use :Cdr and :LCdr to go to GitDir This is consistent with the shell alias --- vim/vimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index b4d3a3e..111e2ff 100644 --- 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: -- 2.48.1