NOTE: If you have existing files in $HOME/.vim
or $HOME/.vimrc
, make sure you take appropriate backups before performing any of the following steps.
$ git clone https://[email protected]/chokosabe/vim-dotfiles.git ~/.vim && ln -s ~/.vim/.vimrc ~/.vimrc
Then install Vundle, as per their instructions:
$ git clone http://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
-
Next, get my vim-dotfiles & symlink the
.vimrc
to your$HOME/.vimrc
: -
Finally, we need to launch Vim and then invoke the appropriate Vundle commands to install all of the bundles using the
:BundleInstall
command. When this is completed you'll need to build the C extension for the Command-T plugin plugin, which is a simple matter of cd'ing in to the command-t bundle folder and invokingrake make
. I'm not quite sure if this process could somehow be automated with Vundle; if not, then that would be a fun addition to make to the project.
And that's it! Be sure to source your newly installed configuration (:source $MYVIMRC
from inside Vim, or just restart a new editor session), and you should be good to go.
The included .vimrc
contains some very minimal configurations that should be sane defaults for most developers, including a colorscheme that is pulled from one of the installed
bundles. Feel free to modify at will, of course. See the comments in the .vimrc
file for more details, and check out the individual bundles that are pulled in on github until
I decide to annotate & comment on what each of them do.