←back to thread

214 points m4xshen | 1 comments | | HN request time: 0.208s | source
Show context
BrouteMinou ◴[] No.44023003[source]
I always find it funny when people say to not repeat h-l, w-W keys for horizontal movement.

No way I am starting to count how many characters there are in front of my cursor just to have the satisfaction of typing "31-l"...

I am totally going to spam some 2w 3w llll until I reach the desired position.

replies(11): >>44023032 #>>44023106 #>>44023900 #>>44024062 #>>44024131 #>>44024351 #>>44024757 #>>44025313 #>>44025477 #>>44025764 #>>44025950 #
skydhash ◴[] No.44023032[source]
I think it's more about getting used to f-F,t-T,A,I, and <semicolon> which can be quicker especially with code. You can also add easymotion or similar plugins for the powered version of those.
replies(4): >>44024150 #>>44027191 #>>44030727 #>>44037274 #
1. brewmarche ◴[] No.44030727[source]
I used to be a big fan of easymotion until I discovered that / is also a motion and that with inline search enabled you can use CTRL-G to cycle through results.

Example: d / foo, first foo will be highlighted, use CTRL-G to select the next one if not correct (repeat if necessary; CTRL-T cycles backwards), ENTER to delete until highlighted section.

Unfortunately CTRL-G is not implemented in IdeaVIM.