diff --git a/install.sh b/install.sh index dd71c62..34266fa 100755 --- a/install.sh +++ b/install.sh @@ -63,3 +63,9 @@ fi mkdir -pv "$HOME/.vim/bundle" git clone https://github.com/VundleVim/Vundle.vim "$HOME/.vim/bundle/Vundle.vim" vim +PluginInstall +qall + +echo "Set vim-nox as the default system editor" +VIM_PATH="$(which vim.nox)" +if [ -x "$VIM_PATH" ]; then + sudo update-alternatives --config editor "$VIM_PATH" +fi