From 4026060784b1da3e887948466639ea549588cdf3 Mon Sep 17 00:00:00 2001 From: David Holland Date: Fri, 12 Apr 2019 20:14:37 +0200 Subject: [PATCH] It is better to change the global dir instead of the local one (default) --- init.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.vim b/init.vim index 14e6ed6..812db6f 100644 --- a/init.vim +++ b/init.vim @@ -1207,7 +1207,8 @@ set incsearch set clipboard=unnamedplus -nnoremap cd :lcd %:p:h +nnoremap cd :cd %:p:h +nnoremap CD :lcd %:p:h tnoremap