vimrepo: softlinks @echo "-----------------------------------------------------------" @echo "Vim and environment" @echo "-----------------------------------------------------------" @echo "Open vim and type :PlugInstall to install extension manager" softlinks: apps @test -L ${HOME}/.vim && unlink ${HOME}/.vim || true @(test -d ${HOME}/.vim && mv ${HOME}/.vim ${HOME}/.vim_old) || true @ln -vsf ${PWD}/.vim ${HOME}/.vim @(test -L ${HOME}/.vimrc && unlink ${HOME}/.vimrc) || true @(test -f ${HOME}/.vimrc && mv ${HOME}/.vimrc ${HOME}/.vimrc_old) || true @ln -vsf ${PWD}/.vimrc ${HOME}/.vimrc apps: @sudo apt install vim