Mercurial > dotfiles
diff 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 |
line wrap: on
line diff
--- a/vim/vimrc Thu Feb 16 21:50:47 2017 -0800 +++ b/vim/vimrc Sat Feb 18 21:59:20 2017 -0800 @@ -277,8 +277,8 @@ " Gutentags {{{ -let g:gutentags_exclude = ['venv', 'build', 'static', 'node_modules'] let g:gutentags_cache_dir = s:vim_home.'/tags' +let g:gutentags_ctags_exclude = ['venv', 'build', 'static', 'node_modules'] let g:gutentags_ctags_extra_args = ['--options='.s:vim_home.'/ctagsrc'] " }}} @@ -537,8 +537,8 @@ " some of that `zvzz` stuff, but that's OK, the main point is to not mess up " the result selection window either. nnoremap <F9> :pop<cr> -nnoremap <F10> :tj<cr>zvzz -nnoremap <s-F10> <c-w>v:tj<cr>zMzvzz +nnoremap <F10> g<C-]>zvzz +nnoremap <s-F10> <c-w>vg<C-]>zMzvzz nnoremap <c-F9> :tprevious nnoremap <c-F10> :tnext