mirror of
https://github.com/gryf/tagbar.git
synced 2025-12-17 11:30:28 +01:00
Add ? as help key, closes #194
This commit is contained in:
@@ -2784,7 +2784,7 @@ endfunction
|
||||
" s:PrintHelp() {{{2
|
||||
function! s:PrintHelp() abort
|
||||
if !g:tagbar_compact && s:short_help
|
||||
silent 0put ='\" Press <F1> for help'
|
||||
silent 0put ='\" Press <F1> or ? for help'
|
||||
silent put _
|
||||
elseif !s:short_help
|
||||
silent 0put ='\" Tagbar keybindings'
|
||||
|
||||
@@ -311,7 +311,7 @@ KEY MAPPINGS *tagbar-keys*
|
||||
|
||||
The following mappings are valid in the Tagbar window:
|
||||
|
||||
<F1> Display key mapping help.
|
||||
<F1>/? Display key mapping help.
|
||||
Map option: tagbar_map_help
|
||||
<CR>/<Enter> Jump to the tag under the cursor. Doesn't work for pseudo-tags
|
||||
or generic headers.
|
||||
|
||||
@@ -101,7 +101,7 @@ let s:keymaps = [
|
||||
\ ['togglesort', 's'],
|
||||
\ ['zoomwin', 'x'],
|
||||
\ ['close', 'q'],
|
||||
\ ['help', '<F1>'],
|
||||
\ ['help', ['<F1>', '?']],
|
||||
\ ]
|
||||
|
||||
for [map, key] in s:keymaps
|
||||
|
||||
Reference in New Issue
Block a user