Hacker News new | ask | show | jobs
by exDM69 4685 days ago
If you do not know what cf" does, you've been using Vim like you would use a normal text editor. Which is fine. But you're missing out a lot.

Do yourself a favor and go figure out what's the difference between: cf" cF" ct" ci" ca"

Note: you can substitute c for any "verb" (d, y, ~, etc) and " for many delimeters.

  :help text-objects
1 comments

Thanks for the pointers, will do. One strange thing about vim is everyone seems to have a core set of commands they use. An interesting tool.
The thing with Vim is that even though you can use it like a regular text editor, it isn't too good at that. But when you grok the Vim philosophy, enter one command, verb + noun, then do your edit and press esc, you'll feel like flying.