Provide implementation of the 'i' motion infix, such that yiw and viw or others work.
[ ] functionality: implement i{'w', '{', ...}} as key combination
viw <=> bvw;
vi{ <=> ?{v/{
in general:
[operation]i[Letter] <=> b[motion]w i if letter is motion
?[Letter]\n[operation]/[Letter]\n else
Conceptual Decision:
It is possible to issue a key combination when a key is pressed. For this scenario, when i is pressed, a part of the key combination is unknown, and the combination has to be triggered when the next letter is pressed. I guess the only way to solve this is to introduce a new state in the normal mode structure.
Provide implementation of the 'i' motion infix, such that yiw and viw or others work.
in general:
Conceptual Decision: It is possible to issue a key combination when a key is pressed. For this scenario, when
i
is pressed, a part of the key combination is unknown, and the combination has to be triggered when the next letter is pressed. I guess the only way to solve this is to introduce a new state in the normal mode structure.