summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ship/lib/vim2
-rw-r--r--ship/src/vim_sane_defaults2
2 files changed, 3 insertions, 1 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
}
diff --git a/ship/src/vim_sane_defaults b/ship/src/vim_sane_defaults
index eb8c4c5d..4c6f1b8f 100644
--- a/ship/src/vim_sane_defaults
+++ b/ship/src/vim_sane_defaults
@@ -2,7 +2,7 @@
#@strict
#@include core
#@include vim
-#@punani
+#@include punani
#@mainifyme
info "installing punani"
punani install vim