diff --git a/autoload/tagbar.vim b/autoload/tagbar.vim index 5278e45..1b9dbbc 100644 --- a/autoload/tagbar.vim +++ b/autoload/tagbar.vim @@ -2784,7 +2784,7 @@ endfunction " s:PrintHelp() {{{2 function! s:PrintHelp() abort if !g:tagbar_compact && s:short_help - silent 0put ='\" Press for help' + silent 0put ='\" Press or ? for help' silent put _ elseif !s:short_help silent 0put ='\" Tagbar keybindings' diff --git a/doc/tagbar.txt b/doc/tagbar.txt index bd2b691..5761730 100644 --- a/doc/tagbar.txt +++ b/doc/tagbar.txt @@ -311,7 +311,7 @@ KEY MAPPINGS *tagbar-keys* The following mappings are valid in the Tagbar window: - Display key mapping help. +/? Display key mapping help. Map option: tagbar_map_help / Jump to the tag under the cursor. Doesn't work for pseudo-tags or generic headers. diff --git a/plugin/tagbar.vim b/plugin/tagbar.vim index 718b2cb..2887b9a 100644 --- a/plugin/tagbar.vim +++ b/plugin/tagbar.vim @@ -101,7 +101,7 @@ let s:keymaps = [ \ ['togglesort', 's'], \ ['zoomwin', 'x'], \ ['close', 'q'], - \ ['help', ''], + \ ['help', ['', '?']], \ ] for [map, key] in s:keymaps