Feature request: Composite escape timeout setting
Laurensdc opened this issue · 2 comments
Please make sure this feature request is within the scope of this plugin.
- [x ] I understand that if my request is about supporting some Vim feature, it probably belongs here.
Describe the feature that you'd like:
I would like to set a timeout option for a composite escape.
E.g. I bound
imap jk <Esc>
which works wonderfully! It's the same as I've got set up in nvim and emacs. And it helps me to give Obsidian a shot at all :)
However, in my language I've got words ending on with "jk", so I usually set the timeout to about 60ms.
That means, I have to hit the two keys within 60ms.
Is this possible with the plugin?
Additional context:
I actually got a workaround. I decided to just remap the composite escape to jl
.
I got jk
from the defaults in Emacs, but I can easily set a consistent composite escape in Emacs, nvim and obsidian by mapping it to jl
.
This doesn't conflict with any words in Dutch or English, so the timeout doesn't matter.
Not sure if this issue should stay open.
I think it is one of the most important reason to use vim keybindings. Would be great to see this feature made.