vimrepo: softlinks @echo "-----------------------------------------------------------" @echo "Vim and fzf 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 @test -d ${HOME}/.fzf && git --git-dir=${HOME}/.fzf/.git --work-tree=${HOME}/.fzf pull && ${HOME}/.fzf/install --all \ || (git clone --depth 1 https://github.com/junegunn/fzf.git ${HOME}/.fzf && ${HOME}/.fzf/install --all)