72 |
71 |
73 Plugin 'godlygeek/tabular' |
72 Plugin 'godlygeek/tabular' |
74 Plugin 'tomtom/tcomment_vim' |
73 Plugin 'tomtom/tcomment_vim' |
75 Plugin 'tpope/vim-unimpaired' |
74 Plugin 'tpope/vim-unimpaired' |
76 Plugin 'tpope/vim-endwise' |
75 Plugin 'tpope/vim-endwise' |
77 " Plugin 'jiangmiao/auto-pairs' |
|
78 |
76 |
79 Plugin 'vimoutliner/vimoutliner' |
77 Plugin 'vimoutliner/vimoutliner' |
80 |
78 |
81 Plugin 'Shougo/neocomplcache.vim' |
79 Plugin 'Shougo/neocomplcache.vim' |
82 Plugin 'c9s/perlomni.vim' |
80 Plugin 'c9s/perlomni.vim' |
113 endif |
110 endif |
114 endif |
111 endif |
115 " }}} |
112 " }}} |
116 |
113 |
117 |
114 |
118 " Key maps, mostly plugin stuff on F-keys {{{ |
115 " Key maps {{{ |
119 |
116 |
120 " F1 - Unite to switch buffers |
117 " F1 - Unite to switch buffers |
121 nmap <silent> <F1> :Unite -auto-resize -direction=dynamicbottom buffer<CR> |
118 nmap <silent> <F1> :Unite -auto-resize buffer<CR> |
122 " S-F1 - Unite to switch windows or tabs |
119 " S-F1 - Unite to switch windows or tabs |
123 nmap <silent> <S-F1> :Unite -winheight=10 -quick-match -short-source-names window tab:no-current<CR> |
120 nmap <silent> <S-F1> :Unite -quick-match -short-source-names window tab:no-current<CR> |
124 nmap <silent> <A-F1> :Unite -winheight=10 session<CR> |
121 nmap <silent> <A-F1> :Unite session<CR> |
125 nmap <silent> <F2> :VimFilerExplorer<CR> |
122 nmap <silent> <F2> :VimFilerExplorer<CR> |
126 map <silent> <F4> :noh<CR> |
123 map <silent> <F4> :noh<CR> |
127 nmap <silent> <F5> :GundoToggle<CR> |
124 nmap <silent> <F5> :GundoToggle<CR> |
128 nmap <silent> <F8> :TagbarToggle<CR> |
125 nmap <silent> <F8> :TagbarToggle<CR> |
129 |
126 |
366 ">> Unite |
373 ">> Unite |
367 " call unite#filters#matcher_default#use(['matcher_fuzzy']) |
374 " call unite#filters#matcher_default#use(['matcher_fuzzy']) |
368 call unite#filters#sorter_default#use(['sorter_rank']) |
375 call unite#filters#sorter_default#use(['sorter_rank']) |
369 " let g:unite_source_history_yank_enable = 1 |
376 " let g:unite_source_history_yank_enable = 1 |
370 |
377 |
|
378 call unite#custom#profile('default', 'context', {'winheight': 10}) |
|
379 |
371 if executable('ag') |
380 if executable('ag') |
372 let g:unite_source_grep_command = 'ag' |
381 let g:unite_source_grep_command = 'ag' |
373 let g:unite_source_grep_default_opts = '--nogroup --nocolor --column' |
382 let g:unite_source_grep_default_opts = '--nogroup --nocolor --column' |
374 let g:unite_source_grep_recursive_opt = '' |
383 let g:unite_source_grep_recursive_opt = '' |
375 endif |
384 endif |