This repo has been deprecated in favour of https://github.com/arithran/dotfiles
My vimrc and VIM settings for PHP based Fullstack Web Developoers
These instructions assume that you store this repo at: ~/workspace/
- Download this Repo
mkdir ~/workspace/
cd ~/workspace/
git clone https://github.com/arithran/php-ide-vim.git
- Install vim vundle (Package Manager).
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
- Copy the .vimrc from this repo
(Symlink recommended for regular updates)
cd ~
ln -s ~/workspace/php-ide-vim/.vimrc .
- Open VIM and Install Plugins/Dependencies
:PluginInstall
- Copy Assets for Snippets and Function Headers
(Symlink recommended for regular updates)
cd ~/.vim/
ln -s ~/workspace/php-ide-vim/UltiSnips/ .
cd ~/.vim/bundle/pdv/
ln -s ~/workspace/php-ide-vim/templates_snip/ .
- Restart vim!
- ctags is needed for the tagbar plugin to work. http://ctags.sourceforge.net/
If you have yum run this.
sudo yum install ctags
- Follow the installation for YouCompleteMe to enable code completion https://github.com/Valloric/YouCompleteMe#installation ./install.sh --clang-completer
You can run gvim in the terminal and get access to the xwindows clipboard.
add this to your ~/.bashrc
alias vim='gvim -v'
alias vi='gvim -v'
Solarized color scheme for most editors including most terminals. http://www.if-not-true-then-false.com/2012/solarized-linux/