Mercurial > dotfiles
comparison vim/vimrc @ 373:083360925deb
Tweaks for tags
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sat, 18 Feb 2017 21:59:20 -0800 |
parents | b87c358bd0ca |
children | 58410650ce36 |
comparison
equal
deleted
inserted
replaced
372:c4b8f894bff1 | 373:083360925deb |
---|---|
275 | 275 |
276 " }}} | 276 " }}} |
277 | 277 |
278 " Gutentags {{{ | 278 " Gutentags {{{ |
279 | 279 |
280 let g:gutentags_exclude = ['venv', 'build', 'static', 'node_modules'] | |
281 let g:gutentags_cache_dir = s:vim_home.'/tags' | 280 let g:gutentags_cache_dir = s:vim_home.'/tags' |
281 let g:gutentags_ctags_exclude = ['venv', 'build', 'static', 'node_modules'] | |
282 let g:gutentags_ctags_extra_args = ['--options='.s:vim_home.'/ctagsrc'] | 282 let g:gutentags_ctags_extra_args = ['--options='.s:vim_home.'/ctagsrc'] |
283 | 283 |
284 " }}} | 284 " }}} |
285 | 285 |
286 " Syntastic {{{ | 286 " Syntastic {{{ |
535 " in a split window where everything is folded except what you need to see. | 535 " in a split window where everything is folded except what you need to see. |
536 " Note that if a tag search yield multiple possible results, we will still run | 536 " Note that if a tag search yield multiple possible results, we will still run |
537 " some of that `zvzz` stuff, but that's OK, the main point is to not mess up | 537 " some of that `zvzz` stuff, but that's OK, the main point is to not mess up |
538 " the result selection window either. | 538 " the result selection window either. |
539 nnoremap <F9> :pop<cr> | 539 nnoremap <F9> :pop<cr> |
540 nnoremap <F10> :tj<cr>zvzz | 540 nnoremap <F10> g<C-]>zvzz |
541 nnoremap <s-F10> <c-w>v:tj<cr>zMzvzz | 541 nnoremap <s-F10> <c-w>vg<C-]>zMzvzz |
542 nnoremap <c-F9> :tprevious | 542 nnoremap <c-F9> :tprevious |
543 nnoremap <c-F10> :tnext | 543 nnoremap <c-F10> :tnext |
544 | 544 |
545 " Keep search matches in the middle of the window. | 545 " Keep search matches in the middle of the window. |
546 nnoremap n nzvzz | 546 nnoremap n nzvzz |