coolwanglu / neovim-e

Electron UI for Neovim
MIT License
271 stars 29 forks source link

Add ability to scroll with the mouse. #18

Closed rygwdn closed 9 years ago

rygwdn commented 9 years ago

Fixes #12.

rygwdn commented 9 years ago

@coolwanglu made both changes as requested. I removed the concept of scroll_sensitivity, as I found a more accurate way to calculate the number of rows & columns.

rygwdn commented 9 years ago

Note: I haven't managed to get horizontal scrolling to work yet, but I checked that it is sending the right input. I think it might just be something missing in neovim.

rygwdn commented 9 years ago

@coolwanglu any feedback on this approach?

coolwanglu commented 9 years ago

LGTM.

coolwanglu commented 9 years ago

Thanks!