57 |
57 |
58 Plugin 'Shougo/vimproc.vim' |
58 Plugin 'Shougo/vimproc.vim' |
59 Plugin 'Shougo/unite.vim' |
59 Plugin 'Shougo/unite.vim' |
60 Plugin 'Shougo/vimshell.vim' |
60 Plugin 'Shougo/vimshell.vim' |
61 Plugin 'Shougo/vimfiler.vim' |
61 Plugin 'Shougo/vimfiler.vim' |
62 Plugin 'Shougo/neocomplcache.vim' |
|
63 Plugin 'sjl/gundo.vim' |
62 Plugin 'sjl/gundo.vim' |
64 Plugin 'majutsushi/tagbar' |
63 Plugin 'majutsushi/tagbar' |
65 Plugin 'godlygeek/tabular' |
64 Plugin 'godlygeek/tabular' |
66 Plugin 'tomtom/tcomment_vim' |
65 Plugin 'tomtom/tcomment_vim' |
67 Plugin 'tpope/vim-unimpaired' |
66 Plugin 'tpope/vim-unimpaired' |
68 Plugin 'tpope/vim-endwise' |
67 Plugin 'tpope/vim-endwise' |
|
68 |
|
69 Plugin 'Shougo/neocomplcache.vim' |
|
70 Plugin 'c9s/perlomni.vim' |
69 |
71 |
70 Plugin 'tpope/vim-fugitive' |
72 Plugin 'tpope/vim-fugitive' |
71 Plugin 'ludovicchabant/vim-lawrencium' |
73 Plugin 'ludovicchabant/vim-lawrencium' |
72 Plugin 'mhinz/vim-signify' |
74 Plugin 'mhinz/vim-signify' |
73 |
75 |
290 \ ], |
292 \ ], |
291 \ 'deffile' : '$MYVIM/ctags/perl.cnf' |
293 \ 'deffile' : '$MYVIM/ctags/perl.cnf' |
292 \ } |
294 \ } |
293 |
295 |
294 |
296 |
295 " > Unite |
297 ">> Unite |
296 " call unite#filters#matcher_default#use(['matcher_fuzzy']) |
298 " call unite#filters#matcher_default#use(['matcher_fuzzy']) |
297 call unite#filters#sorter_default#use(['sorter_rank']) |
299 call unite#filters#sorter_default#use(['sorter_rank']) |
298 " let g:unite_source_history_yank_enable = 1 |
300 " let g:unite_source_history_yank_enable = 1 |
299 |
301 |
300 if executable('ag') |
302 if executable('ag') |
301 let g:unite_source_grep_command = 'ag' |
303 let g:unite_source_grep_command = 'ag' |
302 let g:unite_source_grep_default_opts = '--nogroup --nocolor --column' |
304 let g:unite_source_grep_default_opts = '--nogroup --nocolor --column' |
303 let g:unite_source_grep_recursive_opt = '' |
305 let g:unite_source_grep_recursive_opt = '' |
304 endif |
306 endif |
305 |
307 |
306 " > vimfiler |
308 ">> vimfiler |
307 let g:vimfiler_as_default_explorer = 1 |
309 let g:vimfiler_as_default_explorer = 1 |
308 autocmd FileType vimfiler nmap <buffer> <2-LeftMouse> <Plug>(vimfiler_edit_file) |
310 autocmd FileType vimfiler nmap <buffer> <2-LeftMouse> <Plug>(vimfiler_edit_file) |
309 |
311 |
310 " > Airline |
312 ">> Airline |
311 let g:airline#extensions#whitespace#enabled = 0 |
313 let g:airline#extensions#whitespace#enabled = 0 |
312 |
314 |
313 " > Signify |
315 ">> Signify |
314 let g:signify_disable_by_default = 1 |
316 let g:signify_disable_by_default = 1 |
315 let g:signify_vcs_list = [ 'git', 'hg' ] |
317 let g:signify_vcs_list = [ 'git', 'hg' ] |
316 |
318 |
317 let g:signify_mapping_next_hunk = '<leader>gj' |
319 let g:signify_mapping_next_hunk = '<leader>gj' |
318 let g:signify_mapping_prev_hunk = '<leader>gk' |
320 let g:signify_mapping_prev_hunk = '<leader>gk' |
319 let g:signify_mapping_toggle = '<leader>gt' |
321 let g:signify_mapping_toggle = '<leader>gt' |
320 |
322 |
321 " > neocomplcache |
323 ">> neocomplcache |
322 " Disable AutoComplPop. |
324 " Disable AutoComplPop. |
323 let g:acp_enableAtStartup = 0 |
325 let g:acp_enableAtStartup = 0 |
324 |
326 |
325 " Use neocomplcache. |
327 " Use neocomplcache. |
326 let g:neocomplcache_enable_at_startup = 1 |
328 let g:neocomplcache_enable_at_startup = 1 |
327 let g:neocomplcache_enable_smart_case = 1 |
329 let g:neocomplcache_enable_smart_case = 1 |
328 let g:neocomplcache_min_syntax_length = 3 |
330 let g:neocomplcache_min_syntax_length = 3 |
|
331 |
|
332 if !exists('g:neocomplcache_omni_patterns') |
|
333 let g:neocomplcache_omni_patterns = {} |
|
334 endif |
|
335 |
|
336 "Required to get ruby omni |
|
337 let g:neocomplcache_omni_patterns.ruby = '[^. *\t]\.\w*\|\h\w*::' |
|
338 "Enabling the below allows module completion from CPAN, jeez |
|
339 " let g:neocomplcache_omni_patterns.perl = '\h\w*->\h\w*\|\h\w*::' |
329 |
340 |
330 " }}} |
341 " }}} |
331 |
342 |
332 |
343 |
333 " Local stuff, finish up |
344 " Local stuff, finish up |