3 ms·
I also make liberal use of '/' to get around. Sometimes the bit you want is a line or two down so 't' doesn't quite cut it. I use t / f a lot when cutting thin
by aidos 11y ago
I also make liberal use of '/' to get around. Sometimes the bit you want is a line or two down so 't' doesn't quite cut it.
I use t / f a lot when cutting things, though there's probably a better way (from the article, I just discovered gn to visually select the next item matching the previous search).
eg, I might have a name that I want to replace in a couple of spots so I find it easy to do something like:
/AIDOS<CR>cfSNEWNAME<ESC>n.n.n.
It's generally when it's a bit less calculated. If I knew I was replacing a load of stuff I'd use :%s/AIDOS/NEWNAME/gc