2 ms·
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 f
by skydhash 1y ago
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.
- WhyNotHugo 1y agoTIL! `f` looks really useful, thanks.
- roydivision 1y agoSome nice explanations of f and t: https://stackoverflow.com/questions/12495442/what-do-the-f-and-t-commands-do-in-vim https://stackoverflow.com/questions/12495442/what-do-the-f-a...
- brewmarche 1y agoI 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.
- nocman 1y agoWell over 20 years of vim use, and I had to look up what f/F and t/T do. I'm pretty sure I've seen them before years ago, but I never use them. It's always interesting what others find invaluable that I try out and think "meh" afterward.