Hi Kana, I am wondering if it would be possible to map only an Arpeggio sequence, and not a chord.
That is, the map happens only if keys are hit in a specified order, in quick succession.
For example, in insert mode, if I hit 'dm', a mapping occurs, but if I hit 'md', no mapping occurs. ie.
Hi Kana, I am wondering if it would be possible to map only an Arpeggio sequence, and not a chord. That is, the map happens only if keys are hit in a specified order, in quick succession.
For example, in insert mode, if I hit 'dm', a mapping occurs, but if I hit 'md', no mapping occurs. ie.
I browsed through your code, and I think it can be achieved by bypassing the generation of permutations (see
s:permutations
ins:do_map
)However, I'm not sure if using
<seq>
would be the best way to do this, as it may be confused with the other options such as<buffer>
, etc..What are your thoughts on these?