###Quick Installation
$git clone https://github.com/chenfjm/VimPlugins.git
$mv VimPlugins ~/.vim
$cd .vim
$git submodule init
$git submodule update
$cp .vimrc ~
###PluginInstall
$:PluginInstall(in vim)
$cd ~/.vim/bundle/YouCompleteMe
$./install.sh (--clang-completer)
###Requirements
-
Mac OS
$brew install ctags $easy_install flake8 $brew install nodejs $npm install jshint -g
-
Linux
$apt-get install ctags $easy_install flake8 $apt-get install nodejs $npm install jshint -g
- vim-powerline
- MatchTag
- delimitMate.vim
- Vundle.vim
- Mark--Karkat
- nerdtree
- tagbar
- SimpylFold
- ctrlp.vim
- nerdcommenter
- vim-pydocstring
- vim-javascript
- xml.vim
- vim-less
- vim-css
- YouCompleteMe
- jedi-vim
- Pydiction
- syntastic
- ultisnips
- vim-snippets
- emmet-vim
- smartim
- vim-markdown
-
窗口分割
wm: 开启/关闭NerdTree窗口 wv: 垂直切分窗口 wc: 关闭窗口 wq: 打开 quick fix 窗口 tb: 开启/关闭TagBar窗口
-
快速定位
<C-p>: 打开文件搜索控件 :vimgrep name **: 在当前目录下递归搜索含有name的文件内容 gg: 到文件首行 G: 到文件末尾 ^: 到文件行首 $: 到文件行尾
-
编程相关
<C-i>: 前进 <C-o>: 后退 <C-]>: 跳转 <C-u>: 列出类、函数在哪使用 <C-a>: 自动添加Docstring <C-g>: 获取类、函数的Docstring <C-e>: html、js补全 \cc : 注释代码 \cu : 解除注释 SpaceSpace: 代码折叠