- Install exuberuant-ctags. OSX with brew : brew install ctags. Linux with apt : apt-get install exuberant-ctags
- git clone https://github.com/Nedeas/vim.git ~/.vim
- cd ~/.vim/ && git submodule update --init --recursive
- cd ~/.vim/bundle/YouCompleteMe && ./install.sh --clang-completer
- cd ~/.vim/bundle/vimproc.vim && make
- ln -s ~/.vim/.vimrc ~/.vimrc
The default vim leader are "," (comma) in this configuration.
In vim, you can to use key up, down, left and right for navigate. I recommend to use h, j, k and l for navigate identical at left, bottom, top and right.
- 'Ctrl+e' : Open/close file explorer
- In explorer for all shortcut see Nerdtree documentation (https://github.com/scrooloose/nerdtree/blob/master/doc/NERD_tree.txt)
- 'F8' : Open/close tagBar (list function and attribute of current file)
- 'Ctrl+w' and 'h' or 'l' : For navigate between file explorer, current file and tagbar. ('h' for go to left and 'l' for go to right)
- 'Ctrl+w' and 'q' : For close a pane
- 'Ctrl+h' or 'Ctrl+l' : For navigate between files (when multiple file are opened)
- 'Ctrl+$' in a function name : Open declaration of this function
- 'F2' : Active paste mode
- ',y' and ',p' : copy and paste in système clipboard
- 'F5' : Change color between solarized dark and solarized light
- YouCompleteMe : auto-complete
- vim-twig : Supports Twig PHP templates
- pathogen : Manage your 'runtimepath' (load bundle, ...)
- minibufExplorer : Tag for file
- NerdTree : File explorer
- vim-nerdtree-tabs : File explorer tabs
- phpcomplete-extended : Reference auto-complete for PHP
- phpcomplete-extended-symfony : Reference auto-complete for Symfony2
- tagBar : Reference functions and attributs of current file
- Unite : support of phpcomplete-extended
- vimproc : support of another bundle
- vim-sensible : Add support for standard key (backspace, ...)
- vim-colors-solirized : Color scheme
- vim-easytag : Automated tag file generation and syntax highlighting of tags (need "exuberant-ctags")
- vim-misc : Miscellaneous auto-load
- vim-signify : Show a diff via Vim sign column