[[plugins]] repo = 'Shougo/neocomplete.vim' if = "!has('nvim')" on_i = 1 hook_source = ''' let g:neocomplete#enable_at_startup = 1 source ~/.vim/rc/plugins/neocomplete.rc.vim ''' [[plugins]] repo = 'Shougo/neosnippet-snippets' [[plugins]] repo = 'Shougo/neosnippet.vim' depends = ['neosnippet-snippets'] [[plugins]] repo = 'Shougo/unite.vim' if = "!has('nvim')" on_cmd = 'Unite' depends = ['neomru.vim'] hook_source = 'source ~/.vim/rc/plugins/unite.rc.vim' hook_add = ''' " Prefix key nnoremap [unite] nmap u [unite] " Keymap " Current direcotry files nnoremap [unite] :Unitefile_rec/async:! " Buffer files nnoremap [unite] :Unite buffer " Grep files nnoremap [unite] :Unitegrep -buffer-name=search -auto-preview -no-quit -no-empty -resume " Recent files nnoremap [unite] :Unite file_mru buffer " Yank history nnoremap [unite] :Unite history/yank ''' [[plugins]] repo = 'tpope/vim-markdown' on_ft = ['md', 'markdown'] [[plugins]] repo = 'kannokanno/previm' on_ft = ['md', 'markdown'] [[plugins]] repo = 'cespare/vim-toml' on_ft = ['toml'] [[plugins]] repo = 'IN3D/vim-raml' on_ft = ['raml'] [[plugins]] repo = 'Shougo/vimproc.vim' build = 'make' [[plugins]] repo = 'thinca/vim-quickrun' depends = ['vimproc.vim'] on_ft = ['python'] hook_source = ''' source ~/.vim/rc/plugins/vimquickrun.rc.vim ''' # [[plugins]] # repo = 'neomake/neomake' # on_ft = ['python'] # hook_source = ''' # autocmd! BufEnter,BufWritePost * Neomake # let g:neomake_python_enabled_makers = ['python', 'flake8'] # ''' [[plugins]] repo = 'w0rp/ale' on_ft = ['python', 'javascript', 'html', 'css', 'markdown'] hook_source = ''' source ~/.vim/rc/plugins/ale.rc.vim ''' [[plugins]] repo = 'jsfaint/gen_tags.vim' on_ft = ['python'] hook_source = ''' let g:gen_tags#ctags_auto_gen = 1 let g:gen_tags#gtags_auto_gen = 1 ''' [[plugins]] repo = 'tpope/vim-dispatch' [[plugins]] repo = 'janko-m/vim-test' depends = ['vim-dispatch'] hook_add = ''' let g:test#strategy = 'dispatch' ''' [[plugins]] repo = 'thinca/vim-ref' on_ft = ['python'] hook_add = ''' nmap e (ref-keyword) " Ref view setting autocmd FileType ref call s:initialize_ref_viewer() function! s:initialize_ref_viewer() nnoremap q c setlocal nonumber endfunction ''' [[plugins]] on_ft = ['python'] repo = 'thinca/vim-qfreplace' [[plugins]] repo = 'lighttiger2505/gtags.vim' hook_add = ''' " Options let g:Gtags_Auto_Map = 0 let g:Gtags_OpenQuickfixWindow = 1 " Keymap " Show definetion of function cousor word on quickfix nnoremap K :exe("Gtags ".expand('')) " Show reference of cousor word on quickfix nnoremap S :exe("Gtags -r ".expand('')) '''