mirror of
https://github.com/ernstwi/vim-secret.git
synced 2025-12-27 01:35:01 +08:00
Add mapping <Plug>SecretToggle
This commit is contained in:
parent
33ef0ba3b6
commit
a911e7e891
5 changed files with 29 additions and 2 deletions
|
|
@ -249,3 +249,9 @@ Execute (quickhide mapping, moving around):
|
|||
AssertSyntax '••••• •••••', '••••• ••• ••••'
|
||||
Secret!
|
||||
AssertEqual maparg('q'), ''
|
||||
|
||||
Execute (toggle mapping):
|
||||
nmap s <Plug>SecretToggle
|
||||
AssertSyntax ' ', ' '
|
||||
normal s
|
||||
AssertSyntax '----- •••••', '••••• ••• ••••'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue