From 614b5b244f3a7a9e0174ebcf73c809de6e62e32c Mon Sep 17 00:00:00 2001 From: Jan Larres Date: Mon, 10 Feb 2014 17:25:32 +1300 Subject: [PATCH] Change default hide_nonpublic mapping --- doc/tagbar.txt | 2 +- plugin/tagbar.vim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/tagbar.txt b/doc/tagbar.txt index ee26fed..bd2b691 100644 --- a/doc/tagbar.txt +++ b/doc/tagbar.txt @@ -331,7 +331,7 @@ P Open the tag in a |preview-window|. Display the prototype of the current tag (i.e. the line defining it) in the command line. Map option: tagbar_map_showproto -h Hide tags that are declared non-public. Tags without any +v Hide tags that are declared non-public. Tags without any visibility information will still be shown. Map option: tagbar_map_hidenonpublic +/zo Open the fold under the cursor. diff --git a/plugin/tagbar.vim b/plugin/tagbar.vim index 7f13388..718b2cb 100644 --- a/plugin/tagbar.vim +++ b/plugin/tagbar.vim @@ -90,7 +90,7 @@ let s:keymaps = [ \ ['nexttag', ''], \ ['prevtag', ''], \ ['showproto', ''], - \ ['hidenonpublic', 'h'], + \ ['hidenonpublic', 'v'], \ \ ['openfold', ['+', '', 'zo']], \ ['closefold', ['-', '', 'zc']],