I use dotfiles (a git repository) to manage my dotfiles (rcfiles, ...).
Take vim for examle:
Way1 - Use make (Makefile)
$ git clone https://github.com/archaicdust/dotfiles.git
$ cd dotfiles && make vim
Way2 - Manual Installation
$ git clone https://github.com/archaicdust/dotfiles.git
$ ln -s ~/dotfiles/vim/.vimrc ~/.vimrc
$ ln -s ~/dotfiles/vim/.vim ~/.vim
Way3 - stow
Or you can use stow to manage the symbolic link:
$ git clone https://github.com/archaicdust/dotfiles.git
$ cd ~/dotfiles
$ stow -v vim
Show any symbolic links in the home directory, without any child directory
$ find . -maxdepth 1 -type l -print
The code in .zprofile is used to start ssh-agent on login.
If you use zsh, you need to install oh-my-zsh
$ stow -v zsh
$ git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
Change your default shell
$ chsh -s `which zsh`
map key (,t) conflict
,t is reserved for CtrlP.
TaskList.vim uses ,t mapping, you can change it to ,T.
$ vim +369 ~/.vim/bundle/TaskList.vim/plugin/tasklist.vim
TPM is Tmux Plugin Manager, I use it to insatll some useful plugins.
Clone TPM
$ git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
You need have Exuberant CTags(ctags).
In the root of the project directory, $ ctags -R -f .tags
If you use ctags to make tag files of your source, it' nice to be able to re-run ctags on a source file when you save it.
This (python) plugin will do two things:
(1) It will search for a tag files starting in the directory where your source file resides (:pwd in vim) and moving up a directory at a time until it either finds one or runs out of directory to try.
(2) Should it find a tag file, it will then delete all entries in said tags file referencing the source file you have just saved and then execute ctags -a on that source file from the tags file.
This way, every time you save a file, your tags file will be seamlessly updated.
AutoTag setting
If the tag file name is .tags, type the following command in vim normal mode when you start a new vim instance:
:set tags=.tag
Or you can set up in ~/.vimrc
let g:autotagTagsFile=".tags"
Generate a file .tags under the woring directory:
$ ctags -R -f .tags