On Mon, Apr 13, 2009 at 12:04:07PM +0200, Ingo Karkat wrote:
>
> On 13-Apr-09 9:18, Andy Spencer wrote:
> > This adds a text object ('aa' or 'ii') for the entire buffer. I don't
> > know if this is worthy of being included by default, but I find it
> > convenient for things such as gqaa and =aa.
>
> Nice idea, certainly useful! I'm not sure whether this should be implemented
> in
> the C code, though, as it could also be done with Vimscript.
It may as well be in the C code alongside all of the other text
objects. Notice the cases just below his patch which are waiting to
be implemented.
> One suggestion: How about changing 'ii' so that it excludes empty lines at
> the
> beginning and end of the buffer, similar to what the other text objects do? I
> don't like it when outer and inner text object versions are identical.
I agree with Ingo here. The 'ii' object should trim leading and
trailing whitespace.
--
Erik Falor
Registered Linux User #445632 http://counter.li.org
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---