This is in the public domain, so feel free to use / change / redistribute it You can check the complete repository at http://github.com/motanelu/macvim-configuration
Author: Tudor Barbu hello@tudorbarbu.ninja Blog: http://tudorbarbu.ninja License: LGPL
This is a configuration aimed at maximising productivity when developing with PHP. I know that there are a lot of "ultimate" vim configurations out there, but I believe vim's true strength to be its ability to be customised according to one's own needs. Try to use this configuration as a starting in building your own "ultimate" configuration.
For suggestions on how to improve it or cool modules, please hit me up at hello@tudorbarbu.ninja.
Instalation is easy, just paste the following commands in the console:
cd ~
mv .vimrc .vimrc.bak
mv .vim .vim.bak
git clone https://github.com/Galbar/vim-configuration.git vim
git clone https://github.com/gmarik/Vundle.vim vim/bundle/Vundle.vim
ln -s ./vim .vim
ln -s ./vim/vimrc .vimrc
Now start vim
and issue the :PluginInstall
command. This will install all the plugin via Vundle.
Some plugins require special attention:
To build YouCompleteMe, you need to do the following:
cd ~/vim/bundle/YouCompleteMe
./install.sh
To build Vimproc, you need to do the following:
cd ~/vim/bundle/vimproc
make
To install vim-instant-markdown, you need to do the following: You first need to have node.js with npm installed.
[sudo] npm -g install instant-markdown-d
- If you're on Linux, the
xdg-utils
package needs to be installed (it is installed by default on Ubuntu).
Enjoy!