From: Simon Ruderich Date: Sat, 18 Jun 2016 12:48:45 +0000 (+0200) Subject: vimrc: map to tjump X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=dce50a55e017a8b4af94e3a5d97d12dce38da551;p=config%2Fdotfiles.git vimrc: map to tjump --- diff --git a/vimrc b/vimrc index 25688a6..c9726f2 100644 --- a/vimrc +++ b/vimrc @@ -531,6 +531,11 @@ cmap cnoremap cnoremap +" Use :tjump to lookup tags (instead of :tag) which lists all available tags +" if there's more than one match. This is really helpful in larger projects +" where tags may occur multiple times. +nnoremap g + if has('eval') " Don't move the cursor to the first column for certain scroll commands (, , ). Thanks to jamessan in #vim on Freenode (2011-08-31