This README explains how to create a backup of your existing files, download this configuration, and install it by pointing a symlink to the config.
Clone this repo by doing something like this, replacing myfavdir for a
path of your own choosing:
mkdir ~/myfavdir
cd ~/myfavdir
git clone https://github.com/babab/vim-configThe install script does all the same steps as described in the manual install but with added checks and feedback when something goes wrong. It will create a symbolic link to the path where this repo in located, which is more convenient than substituting paths in commands by hand.
./install.shIf an existing .vim directory is found, rename it with suffix .bak and
link vim folder to ~/.vim:
cd ~
test -d .vim && mv .vim .vim.bak # backup existing .vim folder if found
ln -s ~/myfavdir/vim-config/vim .vimNow install Vundle, and run the PluginInstall command to let Vundle install/update all plugins that are defined in vimrc and create help tags:
mkdir -p .vim/bundle
cd -P .vim/bundle # cd to absolute path, resolving symlink
git clone https://github.com/VundleVim/Vundle.vim
vim +PluginInstall! +qallIf you use the vimproc.vim plugin (which is in my configuration by default) and want to edit typescript files, you must also compile an external DLL, by running:
vim +VimProcInstall +qall