News for hackers. Stuff that matters.
Re:Leap: Neovim’s Answer to the Mouse by looklookatme on Saturday October 08, 2022 @03:25PM (#33135203)
Not OP, but I've been using vim for 20+ years and I get enormous utility out of the mouse wheel for scrolling - especially with a trackpoint.

I spend an enormous amount of time _reading_ code and I want to move up and down quite a lot, but C-U/C-D move too fast (losing mental context) and C-E/C-Y are too slow and RSI-inducing; the wheel very easily allows you to encode an additional "velocity" dimension that the keyboard simply doesn't have.

When reading code, the mouse also allows you to navigate reasonably effectively using only one hand, leaving the other hand free for sipping coffee and taking notes.

Re:Leap: Neovim’s Answer to the Mouse by VTimofeenko on Saturday October 08, 2022 @03:59PM (#33135486)
Have you tried having N lines of context with C-D and C-U? I also found that (half-)page jumps make me lose context, but having some lines on the top or bottom help me keep it.
Re:Leap: Neovim’s Answer to the Mouse by yarky on Saturday October 08, 2022 @04:22PM (#33135666)
> leaving the other hand free for sipping coffee and taking notes.

That explains why my coffee ends up cold and abandoned most of the time!

Re:Leap: Neovim’s Answer to the Mouse by mojifwisi on Saturday October 08, 2022 @10:13PM (#33137740)
May I suggest two things to make <C-U> and <C-D> more usable?

1. Set 'scroll' to a value you're comfortable with, so that <C-D> and <C-U> move fewer lines.

2. Use a plugin that shows a scrolling animation when you use <C-D>, <C-U>, <C-F> or <C-B>. I use vim-smoothie (https://github.com/psliwka/vim-smoothie).