win-vind
win-vind copied to clipboard
[Question] Unmap multiple commands using <any>
Question
Hello. I'd like to use ctrl-w to close tab so I need to unmap all commands start with <ctrl-w> in GUI normal modes, including too many commands. So I want to use <any> as a wildcard, something like
gnunmap <ctrl-w><any>
however this doesn't work. Is there a good way to do it instead of unmap one by one? Thank you!
Sorry for my late reply.
The <any> keyword is regarded as the one keycode rather than a wildcard, so the unmap removes a perfectly matched map with <ctrl-w><any>.
I didn't consider the unmap using wildcard, so I'll implement it in the future.
In the current win-vind, please use unmap all commands, and re-define necessary commands.
Thanks for your contribution.