Ver código fonte

setup.sh: add vimrc setup

pull/1/head
10sr 10 anos atrás
pai
commit
cbb0582505
1 arquivos alterados com 22 adições e 0 exclusões
  1. +22
    -0
      setup.sh

+ 22
- 0
setup.sh Ver arquivo

@@ -331,6 +331,28 @@ __EOC__
setup_dotfiles emacs.el
}

##################################
# setup vim

setup_vim(){
_msg "Setup vimrc"
_vimrc="$HOME"/.vimrc

if test -f "$_vimrc"
then
_warn "Vim rcfile found. Skipping"
else
cat <<__EOC__ >>"$_vimrc"
if filereadable(expand('$DOTFILES_DIR/vimrc'))
source $DOTFILES_DIR/vimrc
endif
__EOC__

fi

setup_dotfiles vimrc
}

##############################
# setup scripts



Carregando…
Cancelar
Salvar