Deprecated
Now, I am using basic version of https://github.com/amix/vimrc.
This vimrc aimes to collect some useful plugins for web developers working under UNIX and using PHP, C/C++, Lua, JavaScript, etc.
This is based on brooky-yen''s vimrc (https://github.com/brooky-yen/vimrc) I adjust the bundle list for this vimrc to focus on web development, and share with my colleagues.
I also added the chinese help documentation of VIM 7.2, see by type :h.
Author: hightman hightman@twomice.net
The distribution is designed to work with Vim >= 7.2.
The distribution also requires ack, ctags, git, ruby and rake. I recommend using the GUI version of VIM (gvim on Linux and Windows, MacVim on OSX) for some plugin only support GUI version (e.g. Command-T). You can download MacVim here.
- vim-autoclose
- ack.vim
- vim-bufexplorer
- vim-easytag
- tagbar
- tagbar-phpctags
- nerdtree
- nerdcommenter.git
- YankRing.vim.git
- vim-fugitive
- vim-repeat
- vim-surround
- vim-eunuch
- vim-markdown
- vim-endwise
- xmledit.git
- matchit.zip
- vim-easymotion
- neocomplcache
- neosnippet
- OmniCppComplete
- syntastic
- vim-php-cs-fixer
- vim-php-namespace
- phpcomplete.vim
- php.vim
- PDV--phpDocumentor-for-Vim
vim-html5-fix- vim-haml
- vim-javascript
- vim-jquery
- php-search-doc
vim-jquery-doc- ctrlp.vim
-
clone this vimrc
git clone https://github.com/hightman/vimrc.git -
Run the install script
sh vimrc/install.shNotice: This step may cost much longer time for configuring & install bundles.
-
Finished! Enjoy it :-)
-
Backup enabled, the BAK file is saved as
~/.vim/bak/$NAME~ -
Swap file is moved to
~/.vim/tmp/$NAME.swp -
Shourtcuts, the
<leader>key is;;wSave & quit;qForce to quit without saving;rReplace the current word in all opened files;erOpen the error console;pToggles pastle mode with normal mode;gInclude guard for C source/header file;sClear search highlighting;bOpen the BufExplorer in current window+-Quickly adjust size of current splitted windowShift-WLoop to switch splitted windowCtrl-J Ctrl-KMove to below/above splitted window and maxmize itCtrl-H Ctrl-LMove to left/right splitted window and maxmize it under normal mode- Double press
Ctrl-Tto open new tab Ctrl-T+Ctrl-Wto open the current tab:cd.Change the working directory to that of the current fileCtrl-[Ctrl-]Ctrl-\Jump/Back out of the tag stackF7;tToggle TagbarF3;nToggle NerdTree TabsF6;syManually Syntax check by syntastic pluginF2;yOpen yanking history;pm;pf;jmOpen online PHP_Manual, PHP_Function, JQuery_ManualCtrl-P;fInvoke CtrlP to find files;ut;htUpdate/Highlight tags by vim-easytags