I have a trackball, which I don't use much when in vim. I would really like to be able to use it to scroll up and down. Is there a way to set mouse move up/down to scroll up/down?
Asked
Active
Viewed 346 times
1 Answers
2
Many people like Vim because its different modes allow for quick navigation, not just with the obvious j and k, but the whole plethora of available (and powerful!) motions. So, I wouldn't recommend to go down that route; the switch from keyboard to mouse / trackball costs time.
Vim can use a mouse wheel to scroll, cp. :help scroll-mouse-wheel. The mouse can be used for locating the cursor, but not for moves. Unless you're solely using fullscreen mode for your applications, how would you "uncapture" the mouse from the Vim window, anyway? As you can see, this is complex, would require third-party tools (e.g. to map the mouse movements into scrollwheel events), and is generally undesirable.
Ingo Karkat
- 23,523