Usage: mv ~/.vim ~/.vim.backup git clone https://github.com/yuanotes/dotvim.git ~/.vim Edit the ~/.vimrc as below: source ~/.vim/init.vim