I want to auto enter the insert mode after use f command how to make it?

16 wyświetleń
Przejdź do pierwszej nieodczytanej wiadomości

Zhe Lee

nieprzeczytany,
21 sty 2021, 23:34:4521.01.2021
do vim_use
As the title said I want to edit immediately after using f command.

seems cant remap the f direct, because f need a parameter. 

Kyle Clark

nieprzeczytany,
3 lut 2021, 01:52:013.02.2021
do vim_use
mm.. first thing that comes to mine is that you could put an operator mapping over the f command, via jumping to the `]  created from the operator mapping and start insert mode from there

this might be as simple as creating a omap?

some resources
 :h g@
or check out the section on Vimscript the hard way on the grep operator, 


Odpowiedz wszystkim
Odpowiedz autorowi
Przekaż
Nowe wiadomości: 0