martanne / vis

A vi-like editor based on Plan 9's structural regular expressions
Other
4.19k stars 259 forks source link

suggestion: scroll the view like the helix editor #1048

Closed erf closed 1 year ago

erf commented 1 year ago

In the helix editor you can scroll the view using the mouse pad, the cursor will follow if close to the edge of the screen. This is different than scrolling the cursor in vis and feels more intuitive.

ninewise commented 1 year ago

This is how I scroll in vis, if I use the mouse. My terminal emulator send Ctrl-y and Ctrl-e signals when the mouse scrolls up and down. vis (and several other terminal interfaces) interpret these correctly.