Re: [PATCH 6/6] Implement mouse wheel scrolling emulation.

2012-09-27 Thread Nicholas Marriott
What values do you use and how often do you change the option? . On Thu, Sep 27, 2012 at 05:42:43AM +0200, Marcel Partap wrote: > > I don't have a scroll wheel here but > > I'm happy without an option and just to hardcode 3 lines > Nah, that's so not good enough. > And having used various incarna

Re: [PATCH 6/6] Implement mouse wheel scrolling emulation.

2012-09-26 Thread Marcel Partap
> I don't have a scroll wheel here but > I'm happy without an option and just to hardcode 3 lines Nah, that's so not good enough. And having used various incarnations of my patch for a considerable amount of time, the flexibility of a variable setting and the modifier keys really is a true asset fo

Re: [PATCH 6/6] Implement mouse wheel scrolling emulation.

2012-09-24 Thread Nicholas Marriott
I'm happy without an option and just to hardcode 3 lines which is pretty standard, so how about this (also with some trivial tidying). I don't have a scroll wheel here but I'll take your word for it if you say it works :-). Index: input-keys.c

[PATCH 6/6] Implement mouse wheel scrolling emulation.

2012-09-16 Thread Marcel Partap
Scrolling mouse wheel while shift modifier key is held generates fake cursor key events. With ctrl modifier added, speed is multi- plied by the value of "mouse-scroll-speedup" variable (default 3). --- examples/tmux.vim |2 +- input-keys.c | 18 -- options-table.c |