kakoune/test/normal/user-modes/cmd

5 lines
112 B
Plaintext

:declare-user-mode global foo<ret>
:map global foo f '<esc>wchello from foo<esc>'
:enter-user-mode global foo
f