" Plugin: Unite.vim and related {{{
let g:has_unite = 0
if count(g:myvimrc_bundle_groups, 'unite')
" Dependencies
NeoBundle 'Shougo/vimproc.vim', {
\ 'build': {
\ 'cygwin': 'make',
\ 'mac': 'make',
\ 'unix': 'make',
\ },
\ 'on_source' : 'unite',
\ }
" Unite
NeoBundle 'Shougo/unite.vim', {
\ 'on_cmd' : ['Unite']
\ }
NeoBundle 'Shougo/neomru.vim'
NeoBundle 'Shougo/unite-outline', {'on_unite' : 'outline'}
NeoBundle 'tsukkee/unite-help', {'on_unite' : 'help'}
NeoBundle 'thinca/vim-unite-history', {
\ 'on_unite' : ['history/command', 'history/search']}
NeoBundle 'osyo-manga/unite-filetype', {
\ 'on_unite' : 'filetype'}
NeoBundle 'osyo-manga/unite-quickfix', {
\ 'on_unite' : ['quickfix', 'location_list']}
NeoBundle 'osyo-manga/unite-fold', {'on_unite' : 'fold'}
NeoBundle 'tacroe/unite-mark', {'on_unite' : 'mark'}
" Unite plugin that provides command line completion
NeoBundle 'ujihisa/unite-locate', {'on_unite' : 'locate'}
" Unite plugin that provides spell suggestions
NeoBundle 'kopischke/unite-spell-suggest'
let g:has_unite = 1
endif
" }}}
" Plugin: TMUX integration {{{
" VIM-TMUX
NeoBundle 'christoomey/vim-tmux-navigator'
NeoBundle 'benmills/vimux', {'on_cmd' : ['VimuxPromptCommand']}
" }}}
" Session management
NeoBundle 'tpope/vim-obsession', {'on_cmd' : ['Obsession', 'Obsession!']}
" Bundle: completer and highlighter {{{
let g:has_ycm = 0
if count(g:myvimrc_bundle_groups, 'comp-ling')
NeoBundle 'Valloric/YouCompleteMe', {
\ 'build' : {
\ 'mac' : './
install.py',
\ 'unix' : './
install.py'
\ },
\ }
let g:has_ycm = 1
endif
let g:has_color_coded = 0
if count(g:myvimrc_bundle_groups, 'highlight-ling')
if !has('nvim')
NeoBundle 'jeaye/color_coded', {
\ 'frozen' : 1,
\ 'disabled' : !has('lua'),
\ 'build': {
\ 'unix': 'cmake . && make && make install',
\ 'mac': 'cmake . && make && make install',
\ },
\ 'on_ft' : ['c', 'cpp', 'objc', 'objcpp'],
\ 'build_commands' : ['cmake', 'make']
\ }
let g:has_color_coded = 1
else
NeoBundle 'bbchung/Clamp', {
\ 'on_ft' : ['c', 'cpp']}
endif
else
NeoBundle 'justinmk/vim-syntax-extra', {
\ 'on_ft' : ['c', 'flex', 'bison']}
NeoBundle 'octol/vim-cpp-enhanced-highlight', {
\ 'on_ft' : 'cpp'}
endif
" }}}
" Bundle: Utitlies and SCM {{{
NeoBundle 'airblade/vim-gitgutter'
NeoBundle 'tpope/vim-fugitive', {
\ 'on_cmd' : ['Gstatus', 'Gdiff', 'Gvdiff'],
\ 'on_path' : '.*'}
NeoBundle 'gregsexton/gitv', {'on_cmd' : 'Gitv'}
NeoBundle 'Xuyuanp/nerdtree-git-plugin', {
\ 'on_source' : ['vim-fugitive'] }
NeoBundle 'tpope/vim-repeat', {'on_source' : 'vim-surround'}
NeoBundle 'tpope/vim-surround'
NeoBundle 'tmhedberg/matchit', {
\ 'disabled' : has('nvim'),
\ 'on_ft' : ['xml', 'html', 'xhtml'],
\ }
NeoBundle 'Shougo/vimfiler.vim', {
\ 'depends' : 'Shougo/unite.vim',
\ 'on_cmd' : ['VimFilerTab', 'VimFiler', 'VimFilerExplorer']
\ }
NeoBundle 'scrooloose/nerdtree', {
\ 'on_cmd' : 'NERDTreeToggle'}
NeoBundle 'simnalamburt/vim-mundo', {'on_cmd' : ['GundoToggle']}
" Hexadecimal editor
NeoBundle 'Shougo/vinarise.vim', {
\ 'on_cmd' : ['Vinarise', 'VinariseDump']}
" list of tag
NeoBundle 'majutsushi/tagbar', {'on_cmd' : ['Tagbar']}
NeoBundle 'taglist.vim', {
\ 'on_ft' : ['tex', 'bib', 'vim'],
\ 'on_cmd' : 'Tlist',
\ }
" Easy to use
NeoBundle 'godlygeek/tabular', {'on_cmd' : 'Tabularize'}
NeoBundle 'arakashic/nerdcommenter', {'on_map' : ['<leader>cc', '<leader>cu']}
NeoBundle 'milkypostman/vim-togglelist', {
\ 'on_func' : ['ToggleLocationList', 'ToggleQuickfixList']}
NeoBundle 'rking/ag.vim', {
\ 'external_commands' : 'ag',
\ 'on_cmd' : 'Ag'}
NeoBundle 'dyng/ctrlsf.vim', {
\ 'external_commands' : 'ag',
\ 'on_cmd' : 'CtrlSF'}
NeoBundle 'arakashic/highlight.vim', {'on_ft' : ['log']}
NeoBundle 'sfiera/vim-emacsmodeline'
NeoBundle 'matze/vim-move'
" move and selection
NeoBundle 'terryma/vim-expand-region', {'on_map' : ['n', '+']}
NeoBundle 'terryma/vim-multiple-cursors', {'on_map' : ['n', '<F11>']}
NeoBundle 'Lokaltog/vim-easymotion', {'on_map' : '<leader><leader>'}
NeoBundle 'kana/vim-textobj-user', {
\ 'on_source' : ['vim-textobj-quote', 'vim-textobj-sentence', 'vim-textobj-latex']}
" coding
NeoBundle 'PeterRincker/vim-argumentative', {
\ 'on_ft' : ['c', 'cpp', 'java', 'python', 'sh', 'vim']
\ }
NeoBundle 'benekastah/neomake'
NeoBundle 'honza/vim-snippets'
NeoBundle 'SirVer/ultisnips'
NeoBundle 'Yggdroot/indentLine', {'on_ft' : ['python']}
" }}}
" Bundle: UI {{{
NeoBundle 'vim-airline/vim-airline', {
\ 'depends' : [ 'vim-airline/vim-airline-themes' ] }
NeoBundle 'kien/rainbow_parentheses.vim'
NeoBundle 'michaeljsmith/vim-indent-object'
NeoBundle 'nathanaelkane/vim-indent-guides'
NeoBundle 'mkitt/tabline.vim', {'on_cmd' : 'tab'}
NeoBundle 'kshenoy/vim-signature'
" }}}
" Bundle: file type tools {{{
NeoBundle 'vim-jp/cpp-vim', {'on_ft' : 'cpp'}
NeoBundle 'plasticboy/vim-markdown', {'on_ft' : ['markdown']}
NeoBundle 'arakashic/vim-latex', {
\ 'on_ft' : ['tex', 'bib'],
\ 'name' : 'vim-latex',
\ }
" Syntax highlights
NeoBundle 'arakashic/vim-slate', {'on_ft' : 'slate'}
NeoBundle 'elzr/vim-json', {'on_ft' : 'json'}
NeoBundle 'nickhutchinson/vim-systemtap', {'on_ft' : 'stp'}
NeoBundle 'mvolkmann/vim-tag-comment', {'on_ft' : ['html', 'xml', 'xhtml']}
" }}}
" Bundle: debugger {{{
if !has('nvim')
NeoBundle 'gilligan/vim-lldb', {
\ 'external-commands' : 'lldb',
\ 'disabled' : has('nvim'),
\ }
else
NeoBundle 'critiqjo/lldb.nvim', {
\ 'external-commands' : 'lldb',
\ 'disabled' : !has('nvim'),
\ }
endif
" }}}
" Bundle: Writing Plugins {{{
let g:has_writing = 0
if count(g:myvimrc_bundle_groups, 'writing')
NeoBundleLazy 'reedes/vim-pencil'
NeoBundleLazy 'reedes/vim-lexical'
NeoBundleLazy 'reedes/vim-litecorrect'
NeoBundleLazy 'reedes/vim-wordy'
NeoBundleLazy 'reedes/vim-textobj-quote', { 'depends' : ['vim-textobj-user'] }
NeoBundleLazy 'reedes/vim-textobj-sentence', { 'depends' : ['vim-textobj-user'] }
NeoBundleLazy 'rbonvall/vim-textobj-latex', { 'depends' : ['vim-textobj-user'] }
let g:has_writing = 1
endif
" }}}
" Bundle: tags, ctags {{{
let g:has_ctags_indexer = 0
if count(g:myvimrc_bundle_groups, 'ctags')
NeoBundle 'vimprj', {
\ 'on_ft' : ['c', 'cpp'],
\ }
NeoBundle 'DfrankUtil', { 'on_source' : 'vimprj' }
NeoBundle 'indexer.tar.gz', { 'on_source' : 'vimprj' }
let g:has_ctags_indexer = 1
endif
" }}}
" ColorSchemes {{{
NeoBundle 'arakashic/nvim-colors-solarized'
NeoBundle 'nanotech/jellybeans.vim'
NeoBundle 'lilydjwg/colorizer'