vimfiles
These are some of the files I use with vim everyday. They're mostly for use with vim 8 and MacVim
I recommend looking at this guide if you're getting started or trying to clone my files and not having any luck.
how to install
this is the quickest way to install these files
# these bits backup your current vim files and get them out of the way
# skip if you don't have a config or have removed your own
mv .vim vimfilesbackup
mv .vimrc vimfilesbackup/vimrcbck
mv .gvimrc vimfilesbackup/gvimrcbck
# once we're clear, we can download and link my vimfiles
git clone --recursive git://github.com/DeMarko/dotvim.git ~/.vim
ln -s ~/.vim/vimrc ~/.vimrc
ln -s ~/.vim/gvimrc ~/.gvimrc
updating bundles
git submodule foreach git pull origin master
Once you update submodules, if you commit the result, you can update your other repo copies by doing:
git pull
git submodule update
phpctags
I use phpctags instead of ctags for PHP files. If you open a .php without it installed on your system, vim will barf several errors. Here's instructions on how to install it:
# I keep phpctags in ~/bin/, you can create it or change the phpctags directory
cd ~/bin
git clone git://github.com/techlivezheng/phpctags.git
curl -s http://getcomposer.org/installer | php
# at this point, I had to resolve some configs in my php.ini file, it's in /etc/
# OS X provides a default, feel free to rename it to php.ini
# composer will tell you what config you need to fix
# run the line above these comments once you fix the configs
# post successful composer.phar download
cd phpctags
php ../composer.phar install
disclaimer
I write a good amount of PHP at work so it may lean a bit in that direction
acknowledgements
here are some of the things I couldn't submodule:
- Ken Earl's smarty.vim
- Todd Werth's ir_black
- Justin Constantino's candycode
- Lars H. Nielsen's wombat
shoutz
- Ben Hamill for teaching me how to update submodules in cloned repos properly