I would like to use
-lock for all of my user-mode command exept for one that need to exit the user-mode to do some editing.
I try to run:
map global my-user-mode x "<esc>"
But this doesn’t seems to exit the usermode.
Is there a way to exit the “locking”?
I could remove the “-lock” and add
:enter-user-mode my-user-mode<ret> at the end of all my usermode mapping but would be nice to have a less verbose solution.