News for hackers. Stuff that matters.
Re:Ask HN: Vim Pro Tips? by ehamberg on Monday January 30, 2012 @11:39AM (#3529407)
Learn to use text objects¹ – they are what makes Vim much more powerful than Vi. You can even add custom text objects² such as function argument³ or camel case word⁴.

Text objects let you operate on logical units of text. E.g. “change inner word” (ciw), “delete a sentence” (das), change inner double quotes (ci"), ...

[1] http://blog.carbonfive.com/2011/10/17/vim-text-objects-the-d...

[2] http://vim.wikia.com/wiki/Creating_new_text_objects

[3] http://www.vim.org/scripts/script.php?script_id=2699

[4] http://www.vim.org/scripts/script.php?script_id=1905

There are no comments on this comment yet.