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 23:16:27 -0400

marc wrote:
 > On Tue, Jun 13, 2017 at 12:22 PM, Paul Fox <address@hidden> wrote:
 > > [snip]
 > >
 > >  > 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.
 > >
 > > [snip]
 > >
 > >  > 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!  ;-)
 > 
 > Thanks Paul.
 > 
 > Regarding the suspected bug, here's another example: qwq vs. cqwq
 > (more apparent with qwwq vs. cqwwq). So, the motion discrepancies
 > aren't particular to rgn_RECTANGLE. They're also not limited to
 > change: d3qGeq exhibits the same overshoot as my original example.

there's an intentional difference between some simple motions and
their range of action with some operators, in particular the 'c'hange
operator.  for instance, 'w' and 'e' are different, but 'cw' and 'ce'
are the same.  this is a replication of long-standing vi behavior.

i suspect the behavior you've observed is related.

paul

 > 
 > Will take a closer look in a bit.
 > 
 > /M
 > 


=----------------------
paul fox, address@hidden (arlington, ma, where it's 72.7 degrees)




reply via email to

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