From 3fe80bfbd61e50b5b92330d5f074b6af75a4511c Mon Sep 17 00:00:00 2001 From: Jan Larres Date: Sun, 24 Apr 2011 13:58:06 +1200 Subject: [PATCH] Add ability to jump to next/previous top-level tag, closes #9 --- doc/tagbar.txt | 2 ++ plugin/tagbar.vim | 38 ++++++++++++++++++++++++++++++++++++-- 2 files changed, 38 insertions(+), 2 deletions(-) diff --git a/doc/tagbar.txt b/doc/tagbar.txt index 134971c..2ed33d1 100644 --- a/doc/tagbar.txt +++ b/doc/tagbar.txt @@ -249,6 +249,8 @@ o/za Toggle the fold under the cursor or the current one if there is no fold under the cursor. */zR Open all folds by setting foldlevel to 99. =/zM Close all folds by setting foldlevel to 0. + Go to the next top-level tag. + Go to the previous top-level tag. s Toggle sort order between name and file order. x Toggle zooming the window. q Close the Tagbar window. diff --git a/plugin/tagbar.vim b/plugin/tagbar.vim index 015bdbd..407e49d 100644 --- a/plugin/tagbar.vim +++ b/plugin/tagbar.vim @@ -810,6 +810,11 @@ function! s:MapKeys() nnoremap