marc wrote:
 > Problem: given the following buffer:
 > 
 >   abc def ghi
 >   jkl mno pqr
 >   stu vwx yz_
 > 
 > I'd like to replace the first column with the string 'replacement'
 > using a rectangular sweep.
 > 
 > First attempt (see PS for more info):
 > 
 >   c3qGehq
 > 
 > which yields:
 > 
 >   rep def ghi
 >   rep mno pqr
 >   rep vwx yz_
 > 
 > i.e., 'replacement' is truncated to fit within the selected rectangle.
 > 
 > Is there an analogue that expands the rectangular selection to
 > accommodate the full replacement?

not that i recall implementing, but it was a very long time ago.

 > 
 > Ta,
 > M
 > 
 > PS: For some reason, 'e' moves one space further than expected, hence
 > the 'h'. As intended?

seems like a bug to me, but it was a very long time ago.  :-)

(maybe i shouldn't be responding!  ;-)

paul

=----------------------
paul fox, [email protected] (arlington, ma, where it's 87.1 degrees)


_______________________________________________
vile mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/vile

Reply via email to