From: Jannik Zander Date: Sun, 22 May 2016 15:25:40 +0000 (+0200) Subject: Last fix .vimrc windows X-Git-Url: https://git.zndr.dk/?a=commitdiff_plain;h=4149b74794e42a188b3a54415f07dcd34b735344;p=dotfiles.git Last fix .vimrc windows --- diff --git a/.vimrc b/.vimrc index 9e67d78..c677680 100644 --- 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