fix autochdir in vim

This commit is contained in:
Arne Schauf committed 2016-06-02 11:17:58 +02:00
1 parent 1f8cd37e62
commit d4c2b886db
1 file changed
+1
+1
View File
@@ -24,6 +24,7 @@ set nostartofline " don't move the coursor to the beginning of the line
set foldmethod=marker " fold by marker
set scrolloff=11 " minimum lines to the screens end
set autochdir " always be in the right directory
autocmd BufEnter * silent! lcd %:p:h " hack for autochdir
set pastetoggle=<F12> " toggle paste
"" persistent undo and backup