Open arp242 opened 3 years ago
I'd like to add <nowait> to the mundo mappings, so e.g. q doesn't wait on the timeout and is immediate.
<nowait>
q
Adding this by default can be surprising, so that's probably not a good idea. Right now the only way is remapping everything with:
let g:mundo_mappings = { \ '<nowait> q': 'quit', [..] \}
Which isn't ideal, and the only reason it works now is probably an (unexpected) implementation detail as it does:
exec 'nnoremap <script> <silent> <buffer> ' . a:mapping .' '. a:action
But this can change in the future.
Maybe add a g:mundo_mappings_nowait setting? Or maybe something else? Usually I'm not a huge fan of adding settings, but I don't really see a good alternative.
g:mundo_mappings_nowait
Anyway, let me know and I can write a patch.
I'd like to add
<nowait>
to the mundo mappings, so e.g.q
doesn't wait on the timeout and is immediate.Adding this by default can be surprising, so that's probably not a good idea. Right now the only way is remapping everything with:
Which isn't ideal, and the only reason it works now is probably an (unexpected) implementation detail as it does:
But this can change in the future.
Maybe add a
g:mundo_mappings_nowait
setting? Or maybe something else? Usually I'm not a huge fan of adding settings, but I don't really see a good alternative.Anyway, let me know and I can write a patch.