]> git.zndr.dk Git - dotfiles.git/commitdiff
Last fix .vimrc windows
authorJannik Zander <jannikz@gmail.com>
Sun, 22 May 2016 15:25:40 +0000 (17:25 +0200)
committerJannik Zander <jannikz@gmail.com>
Sun, 22 May 2016 15:25:40 +0000 (17:25 +0200)
.vimrc

diff --git a/.vimrc b/.vimrc
index 9e67d7812d8220ad6d7d9499baf43d701aaf6d9e..c677680402f8a64df6c62ad2d183d369e28361e6 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -9,13 +9,14 @@ set undodir=~/.cache/vim/undo
 set viminfo+=n~/.local/share/vim/viminfo
 
 if empty(glob('~/.config/vim/autoload/plug.vim'))
-  lcd ~
+  cd
   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
   silent !curl -fLo .config/vim/autoload/plug.vim --create-dirs
     \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
   autocmd VimEnter * PlugInstall | source $MYVIMRC
+  cd -
 endif
 
 " section: plugins {{{1