vile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vile] Quoted motion: (un)bounding of rectangular changes


From: Paul Fox
Subject: Re: [vile] Quoted motion: (un)bounding of rectangular changes
Date: Tue, 13 Jun 2017 15:22:37 -0400

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, address@hidden (arlington, ma, where it's 87.1 degrees)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]