kana / vim-submode

Vim plugin: Create your own submodes
http://www.vim.org/scripts/script.php?script_id=2467
217 stars 24 forks source link

Reuse existing mappings #37

Open bobrippling opened 1 year ago

bobrippling commented 1 year ago

Hello - I have a mapping like so:

nmap <C-W>u :set winfixwidth!<CR>

Or similarly, tradewinds creates <C-W>gh (and gj/gk/gl) mappings for moving windows. I'd like to alter vim-submode to recurse into these mappings - is this wise, and if so, what would be the best way to go about it?