Re: [dev] [vis][PATCH] Window line up/down

From: Marc André Tanner <mat_AT_brain-dump.org>
Date: Wed, 17 Sep 2014 15:14:23 +0200

On Tue, Sep 16, 2014 at 03:41:43PM -0300, Amadeus Folego wrote:
> On Tue, Sep 16, 2014 at 07:55:40PM +0200, Marc André Tanner wrote:
> > I have cleaned up the cursor handling code in window.[ch] and implemented
> > the CTRL-{U,D,E,Y} functionality in normal mode. However I'm not sure it
> > behaves the way you expect it. Please test, and report back.
>
> CTRL-{U,D} is working identically to vim.
>
> CTRL-{F,B} were doing what U and D do now (move half-page up/down).
>
> Now the latest changes made them move a full-page row (up/down)

According to my manual they should be identical to page up/down which
move full pages.

> but in the reverse direction. F should be Forward, B should be Back.

This was stupid, and now fixed. I was actually more interested whether
CTRL-{E,Y} behaves the way you expect it.

> I noticed some odd differences between vis and vim in regard of the number of
> rows calculated to be moved, but this should be irrelevant at this
> stage.

Do you mean cases such as: dj which in vim deletes 2 lines but in vis
only the current one?

-- 
 Marc André Tanner >< http://www.brain-dump.org/ >< GPG key: CF7D56C0
Received on Wed Sep 17 2014 - 15:14:23 CEST

This archive was generated by hypermail 2.3.0 : Wed Sep 17 2014 - 15:24:07 CEST