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

From: Claudio <smoppy_AT_gmail.com>
Date: Sun, 14 Sep 2014 18:37:31 +0200

Here is the patch containing window_scroll_line_up() and
window_scroll_line_down().

Regards,
Claudio

2014-09-14 18:31 GMT+02:00 Claudio <smoppy_AT_gmail.com>:
> Okay, I just noticed that the original behaviour of window_line_*() is
> different than the one I thought. It's used by the j and k commands so
> I'll need two new ad-hoc routines for ^y and ^e.
>
>
> Regards,
> Claudio Alessi
>
> 2014-09-14 18:25 GMT+02:00 Claudio <smoppy_AT_gmail.com>:
>> Hi,
>>
>> thank you for writing vis. I would ask if the attached patch makes
>> sense to you. Now window_line_up() and window_line_down() works
>> properly and I can add the following key bindings:
>>
>> { { CONTROL('y') }, cursor, { .m = window_line_up } },
>> { { CONTROL('e') }, cursor, { .m = window_line_down } },
>>
>> It works but I'm not sure it's the only (and right) way to do it.
>>
>>
>> Regards,
>> Claudio

Received on Sun Sep 14 2014 - 18:37:31 CEST

This archive was generated by hypermail 2.3.0 : Sun Sep 14 2014 - 18:48:07 CEST