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

16 views
Skip to first unread message

Zhe Lee

unread,
Jan 21, 2021, 11:34:45 PM1/21/21
to 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

unread,
Feb 3, 2021, 1:52:01 AM2/3/21
to 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, 


Reply all
Reply to author
Forward
0 new messages