[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vile] Rectangular fiddling
From: |
Paul Fox |
Subject: |
Re: [vile] Rectangular fiddling |
Date: |
Tue, 14 Aug 2007 08:29:03 -0400 |
tom wrote:
> On Tue, 14 Aug 2007, Paul van Tilburg wrote:
>
> > Hello all,
> >
> > This week I discovered that vile could do more with rectangular
> > selections than I had previously assumed. Seeing vim-users doing all
> > kind of useful tricks, I investigated what vile could do. I have some
> > observations and I am interested in your thoughts about them.
> >
> > * If one uses `c' followed by a rectangular selection, vile queries for
> > a string to fill it with. If the string is shorter than the width
> > of the selection, the rest is filled with NULL-chars instead of
> > spaces. Is this a feature or a bug?
>
> I assume it's a bug (I recall that it's supposed to fill with spaces).
i agree it's a bug. and while it may have been intended to fill
with spaces (after all, i truncates if the replacement string is too
long), i can't help thinking that it would be more useful if it
grew or shrank the space to fit the new text. i usually find myself
having to do ^A-r and/or d commands to adjust the rectangle to match
the text.
paul
=---------------------
paul fox, address@hidden (arlington, ma, where it's 60.4 degrees)