This is the base branch for PHP developers
This repo is created to develop in PHP. You are free to add your own Vim config, I would be glad to add your config as a new branch. I recommend to read vimrc file and erase everything you dont understand. There are a few comments inside it to help you understand everything. Why a vim config repo? Well, the main reason is to be able to port my Vim config easily to any enviroment where I am coding. Another reason, it´s that it is very easy to change installed bundles just changing actual branch. Having different branches with different configs gets us different behaviours depending on the programming language we are coding, or, for example, modify our code snippets depending on this language: A for or while loop hasn´t the same syntax in all programming languages.
This Vim config is based on Vunde.
git clone git@github.com:FPerezP/myvim.git ~/.vim
git clone git@github.com:gmarik/vundle.git ~/.vim/bundle/vundle
ln -s ~/.vim/vimrc ~/.vimrc
mkdir ~/.vim/_temp
mkdir ~/.vim/_backup
vim +BundleInstall +qall!
git checkout <branch>
vim +BundleClean +BundleInstall +qall!
It´s planned to add a bash script to change branches.
Here are allo bundles I have installed and a short description. All of them have a lot of functions that are not discribed here.
Allows you to autocomplete function names using tab key.
Check syntax for a few programming languages like PHP, Ruby, Python, C, C++, ...
Generates your function and classes comments template.
Check syntax for Javascript and CSS. It´s needed to install V8 library. To do it, you could follow instraction included at the original plugin repository
Allows you to create code snippets.
Just a few utils like caching content or tiny blob windows that is used by other vim plugins included in this repo. Just a required plugin.
Another required package.
Predefined code snippets for PHP, Python, Javascript,...
Allows you to execute Git commands and, the most important feature, to navigate throw the git object.
File commander.
NERDTree extension that allows you to have the same commander in all tabs you open.
Another required package.
Allows you to find files/folders and open them just typing a part of its name.
Highlights indent levels.
Well, I would like to thank to eurodev and all Crononauta team for discovering me this wonderfull editor. Special thanks to nacmartin, your plugins recommendations help me soooo much.