Steve Bertrand <[email protected]> [09-12-09 18:12]:
> Tim Chase wrote:
> >> f(dib
> >>
> >> f: jump onto the given character which is
> >> (: 
> >> d: delete all characters touched by the next movement
> >> ib: the "inner block" surrounded by ()
> >>
> >> If you want to read more abnout that try 
> >> :h text-objects
> > 
> > Meino beat me to hitting <send> on my reply, but I'll add that I 
> > usually use
> > 
> >    di(   or   di[     or di{
> > 
> > instead of
> > 
> >    dib
> > 
> > because I want to be sure I know what I'm deleting, and as such 
> > tend to be more explicit.  My mind muddles what constitutes a 
> > *b*lock object.
> > 
> > If you want to delete the parens too, you can change the above to
> > 
> >    dab
> >    da(
> >    da[
> >    da{
> > 
> > or you can just use
> > 
> >    d%
> > 
> > to delete from the current opening-paren/bracket/brace to the 
> > matching close-paren/bracket/brace.
> > 
> > Vim's text objects...I'm awfully fond of them! :-)
> 
> Thanks Meino & Tim for both of your very detailed explanations.
> 
> Cheers!
> 
> Steve
> 
> -- 
> You received this message from the "vim_use" maillist.
> For more information, visit http://www.vim.org/maillist.php
> 

you're welcome! :O)

Have a nice \(evening\|morning\|day\)!
mcc
-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.

-- 
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

Reply via email to