summaryrefslogtreecommitdiff
path: root/vim/.vimrc
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2017-03-26 16:21:20 +0100
committerUrbain Vaes <urbain@vaes.uk>2017-03-26 16:28:26 +0100
commit6de877b0c24143b822b2d84df4d061b5f0d2d35c (patch)
tree70afb9f5107fbe74cdc8b8b3ff34afa49ef613e2 /vim/.vimrc
parentc0ea7110a4bf3087505d313b047eda8970c8549a (diff)
Delete submodules
Diffstat (limited to 'vim/.vimrc')
-rw-r--r--vim/.vimrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index 9b73fea..67d1d3e 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -1,3 +1,10 @@
+"" Download vim-plug if necessary
+if empty(glob('~/.vim/autoload/plug.vim'))
+ silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
+ \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
+ autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
+endif
+
let mapleader = " "
let maplocalleader = "\\"