summaryrefslogtreecommitdiffstats
path: root/ship/lib/vim
diff options
context:
space:
mode:
Diffstat (limited to 'ship/lib/vim')
-rw-r--r--ship/lib/vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/ship/lib/vim b/ship/lib/vim
index de1ec5b0..43173585 100644
--- a/ship/lib/vim
+++ b/ship/lib/vim
@@ -3,6 +3,7 @@
vimrc=$HOME/.vimrc
vim_conf_sane_defaults(){
+ # TODO - make stuff more modular?
cat >>$vimrc<<EOF
set nocompatible
filetype plugin indent on
@@ -34,4 +35,5 @@ set autoindent
set backspace=indent,eol,start
set nocp
EOF
+ mkdir -p $HOME/.vim/backup
}