]> git.zndr.dk Git - dotfiles.git/commitdiff
Update fix for .vimrc in windows
authorJannik ZANDER <jzander@grundfos.com>
Sun, 22 May 2016 14:02:51 +0000 (16:02 +0200)
committerJannik ZANDER <jzander@grundfos.com>
Sun, 22 May 2016 14:02:51 +0000 (16:02 +0200)
.vimrc

diff --git a/.vimrc b/.vimrc
index 3d4ab1b6e724ea476cd674d02c58442ed1e261a2..9e67d7812d8220ad6d7d9499baf43d701aaf6d9e 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -9,6 +9,7 @@ set undodir=~/.cache/vim/undo
 set viminfo+=n~/.local/share/vim/viminfo
 
 if empty(glob('~/.config/vim/autoload/plug.vim'))
+  lcd ~
   silent !mkdir -p .cache/vim/swap > /dev/null 2>&1
   silent !mkdir -p .cache/vim/backup > /dev/null 2>&1
   silent !mkdir -p .cache/vim/undo > /dev/null 2>&1