66 Plugin 'c9s/perlomni.vim' |
66 Plugin 'c9s/perlomni.vim' |
67 Plugin 'rking/ag.vim' |
67 Plugin 'rking/ag.vim' |
68 |
68 |
69 Plugin 'tpope/vim-fugitive' |
69 Plugin 'tpope/vim-fugitive' |
70 Plugin 'ludovicchabant/vim-lawrencium' |
70 Plugin 'ludovicchabant/vim-lawrencium' |
71 Plugin 'mhinz/vim-signify' |
|
72 |
71 |
73 Plugin 'asciidoc/vim-asciidoc' |
72 Plugin 'asciidoc/vim-asciidoc' |
74 Plugin 'vim-perl/vim-perl' |
73 Plugin 'vim-perl/vim-perl' |
75 Plugin 'sheerun/vim-polyglot' |
74 Plugin 'sheerun/vim-polyglot' |
76 Plugin 'yko/mojo.vim' |
75 Plugin 'yko/mojo.vim' |
128 " Select last paste |
127 " Select last paste |
129 map gV `[v`] |
128 map gV `[v`] |
130 |
129 |
131 " clear all interestingwords with \\k since \K is ri.vim |
130 " clear all interestingwords with \\k since \K is ri.vim |
132 nnoremap <silent> <leader><leader>k :call UncolorAllWords()<CR> |
131 nnoremap <silent> <leader><leader>k :call UncolorAllWords()<CR> |
133 |
|
134 nnoremap <silent> <leader>gt :SignifyToggle<CR> |
|
135 |
132 |
136 " K: doc, gK: Doc w/o using syntax hints, gKK: doc current filename |
133 " K: doc, gK: Doc w/o using syntax hints, gKK: doc current filename |
137 nmap K :call ViewDoc('doc', expand('<cword>'))<CR> |
134 nmap K :call ViewDoc('doc', expand('<cword>'))<CR> |
138 nmap gKK :call ViewDoc('doc', expand('%'))<CR> |
135 nmap gKK :call ViewDoc('doc', expand('%'))<CR> |
139 |
136 |
330 augroup END |
327 augroup END |
331 "}}} |
328 "}}} |
332 |
329 |
333 |
330 |
334 " Perl type-specific settings {{{ |
331 " Perl type-specific settings {{{ |
335 |
|
336 " let perl_fold = 1 " perl fold scanning is slow |
|
337 let perl_include_pod = 1 |
332 let perl_include_pod = 1 |
338 let perl_sub_signatures = 1 |
333 let perl_sub_signatures = 1 |
339 let perl_sync_dist = 200 |
334 let perl_sync_dist = 200 |
340 |
|
341 " }}} |
335 " }}} |
342 |
336 |
343 |
337 |
344 " Plugin settings {{{ |
338 " Plugin settings {{{ |
345 |
339 |
426 let g:unite_source_grep_recursive_opt = '' |
418 let g:unite_source_grep_recursive_opt = '' |
427 |
419 |
428 let g:unite_source_rec_async_command = ['ag', '-f', '--nocolor', '--nogroup', '-g', ''] |
420 let g:unite_source_rec_async_command = ['ag', '-f', '--nocolor', '--nogroup', '-g', ''] |
429 endif |
421 endif |
430 |
422 |
431 |
|
432 ">> vimfiler |
423 ">> vimfiler |
433 let g:vimfiler_as_default_explorer = 1 |
424 let g:vimfiler_as_default_explorer = 1 |
434 |
|
435 |
425 |
436 ">> Airline |
426 ">> Airline |
437 let g:airline#extensions#whitespace#enabled = 0 |
427 let g:airline#extensions#whitespace#enabled = 0 |
438 let g:airline_powerline_fonts = 0 |
428 let g:airline_powerline_fonts = 0 |
439 |
429 |
441 let g:bufferline_echo = 0 |
431 let g:bufferline_echo = 0 |
442 |
432 |
443 "cycle the bufferline with current buf in 2nd-to-last spot |
433 "cycle the bufferline with current buf in 2nd-to-last spot |
444 let g:bufferline_rotate = 1 |
434 let g:bufferline_rotate = 1 |
445 let g:bufferline_fixed_index = -2 |
435 let g:bufferline_fixed_index = -2 |
446 |
|
447 |
|
448 ">> Signify |
|
449 let g:signify_disable_by_default = 1 |
|
450 let g:signify_vcs_list = [ 'git', 'hg' ] |
|
451 |
|
452 |
436 |
453 ">> interestingwords |
437 ">> interestingwords |
454 " These are jellybeans colors and some complements |
438 " These are jellybeans colors and some complements |
455 let g:interestingWordsGUIColors = ['#C4A258', '#D8AD4C', '#6AADA0', '#71B9F8', '#A037B0', '#CF6A4C'] |
439 let g:interestingWordsGUIColors = ['#C4A258', '#D8AD4C', '#6AADA0', '#71B9F8', '#A037B0', '#CF6A4C'] |
456 let g:interestingWordsRandomiseColors = 1 |
440 let g:interestingWordsRandomiseColors = 1 |
457 |
441 |
458 |
|
459 ">> neocomplcache |
442 ">> neocomplcache |
460 " Disable AutoComplPop. |
|
461 let g:acp_enableAtStartup = 0 |
443 let g:acp_enableAtStartup = 0 |
462 |
|
463 " Use neocomplcache. |
|
464 let g:neocomplcache_enable_at_startup = 1 |
444 let g:neocomplcache_enable_at_startup = 1 |
465 let g:neocomplcache_enable_smart_case = 1 |
445 let g:neocomplcache_enable_smart_case = 1 |
466 let g:neocomplcache_min_syntax_length = 3 |
446 let g:neocomplcache_min_syntax_length = 3 |
467 |
447 |
468 if !exists('g:neocomplcache_omni_patterns') |
448 if !exists('g:neocomplcache_omni_patterns') |
507 if has('gui_running') |
487 if has('gui_running') |
508 set number |
488 set number |
509 set background=dark |
489 set background=dark |
510 |
490 |
511 set guicursor+=a:blinkwait1000-blinkon1200-blinkoff250 |
491 set guicursor+=a:blinkwait1000-blinkon1200-blinkoff250 |
512 |
|
513 if s:on_windows == 1 |
|
514 set columns=120 lines=40 |
|
515 endif |
|
516 |
492 |
517 colorscheme jellybeans |
493 colorscheme jellybeans |
518 else |
494 else |
519 if $TERM =~ '^screen' |
495 if $TERM =~ '^screen' |
520 if $TERM == 'screen-bce' |
496 if $TERM == 'screen-bce' |