Add mapping <Plug>SecretToggle

This commit is contained in:
Ernst Widerberg 2021-01-30 12:09:05 +01:00
parent 33ef0ba3b6
commit a911e7e891
5 changed files with 29 additions and 2 deletions

View file

@ -64,12 +64,20 @@ g:secret_timeout_insert Hide entire buffer after 'updatetime' milliseconds
==============================================================================
MAPPINGS *secret-mappings*
Secret view mappings~
*g:secret_quickhide*
g:secret_quickhide Hide entire buffer until the cursor is moved. Set this
to a key sequence string: >
g:secret_quickhide Hide entire buffer until the cursor is moved.
Set this to a key sequence string: >
let g:secret_quickhide = '<Leader>q'
Global mappings~
*<Plug>SecretToggle*
<Plug>SecretToggle Toggle secret view.
<Plug> mappings are used like this: >
nmap <Leader>s <Plug>SecretToggle
==============================================================================
HIGHLIGHTING *secret-highlight* *SecretVisible*