From 4149b74794e42a188b3a54415f07dcd34b735344 Mon Sep 17 00:00:00 2001 From: Jannik Zander Date: Sun, 22 May 2016 17:25:40 +0200 Subject: [PATCH] Last fix .vimrc windows --- .vimrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.43.0