Skip to content

Instantly share code, notes, and snippets.

@yzf
Last active May 9, 2018 08:10
Show Gist options
  • Save yzf/8829fc629385b7b8a8bbaf53950ac2db to your computer and use it in GitHub Desktop.
Save yzf/8829fc629385b7b8a8bbaf53950ac2db to your computer and use it in GitHub Desktop.
plugins.vim
" Automatically source the plugins.vim when it is saved
autocmd! bufwritepost plugins.vim source %
call plug#begin('~/.vim/bundle/')
" Add plugins here
Plug 'flazz/vim-colorschemes'
Plug 'jiangmiao/auto-pairs'
"Plug 'zhaocai/GoldenView.Vim'
"Plug 'Xuyuanp/nerdtree-git-plugin'
Plug 'kien/ctrlp.vim' "search file
Plug 'rking/ag.vim' "search code
Plug 'Yggdroot/indentLine'
"Plug 'ludovicchabant/vim-gutentags' " generate tags
Plug 'majutsushi/tagbar', {'on': 'TagbarToggle'} " display current file's structure: <leader>m
Plug 'scrooloose/nerdtree', {'on': 'NERDTreeToggle'} " display folder's files: <leader>n
"Plug 'Valloric/YouCompleteMe', {'do': 'python install.py --clang-completer'}
Plug 'vim-scripts/a.vim', {'for': ['c', 'cpp', 'cc']} " jump to class's defination: <leader>h
Plug 'vim-syntastic/syntastic', {'for': 'python'}
Plug 'hynek/vim-python-pep8-indent', {'for': 'python'}
Plug 'vim-python/python-syntax', {'for': 'python'}
"Plug 'jimenezrick/vimerl', {'for': 'erl'}
"Plug 'rodjek/vim-puppet', {'for': 'puppet'}
"Plug 'puppetlabs/puppet-syntax-vim', {'for': 'puppet'}
"Plug 'Rykka/riv.vim', {'for': 'rst'}
"Plug 'ternjs/tern_for_vim', {'for': 'js'}
"Plug 'fatih/vim-go', {'for': 'go'}
"Plug 'godlygeek/tabular', {'for': 'md'}
"Plug 'plasticboy/vim-markdown', {'for': 'md'}
"Plug 'JamshedVesuna/vim-markdown-preview', {'for': 'md'}
"Plug 'elixir-lang/vim-elixir', {'for': ['ex', 'exs']}
"Plug 'mattn/emmet-vim', {'for': ['html', 'htm']}
"Plug 'chase/vim-ansible-yaml', {'for': 'yaml'}
" All of your Plugs must be added before the following line
"
call plug#end()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment