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

@ -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 '----- •••••', '••••• ••• ••••'