On 09/11/11 01:28, Spiros Bousbouras wrote:
On Sep 11, 4:22 am, Javier Rojas wrote:
:help iw
Thanks. I don't believe I had ever come across the iw motion
command before.
Please do take the time to follow Tony's suggestion to read up at
:help text-objects
They are one of the killer features of Vim and I use them ALL THE
TIME. The ability to be anywhere within
parens/brackets/quotes/words/paragraphs and perform an action
(yank, delete, modify, change case, etc) on that area is an
incredibly powerful thing. I think the quotation objects are the
ones I use most in coding:
ci"
allows me to change the contents of the string I happen to be
within, regardless of where I am in the string.
Beware, learning to use them well will change how you think about
editing and make you annoyed at other editors that don't offer
this functionality. :)
-tim
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php