Monday, September 23, 2019

Re: Smooth scrolling in gvim

On Sa, 21 Sep 2019, 'Edward Ned Harvey (vim)' via vim_use wrote:

> Hi, I'm a long-time gvim user on mac, windows, and linux. For a long time, macs have had smooth scrolling, accurate down to the pixel (not confined to snapping position by line), but now the latest windows 10 also has smooth scrolling, with two-finger swipe gesture, and because gvim jumps by whole lines, it's difficult to see, and it scrolls far too fast. I've been forced to start using VSCode with Vim plugin, because it supports smooth scrolling. VSCode with vim plugin is pretty good, but it's not a full implementation of vim, so it' not as good as real gvim (if only there were smooth scrolling).
>
> Is it possible, or difficult, to add smooth scrolling to gvim?

It is almost impossible, because in the current state, vim does not
allow to scroll by screen lines, but only by physical lines. This is
actually one of my personal most annoying issues with Vim but I never
had actually time to properly implement it.

Having said that, I noticed Neovim has an open PR for this feature
https://github.com/neovim/neovim/pull/11014 so perhaps that is something
to have a look at.

Best,
Christian
--
Wie man sein Kind nicht nennen sollte:
Franz Ose

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20190923171156.GD22701%40256bit.org.

No comments:

Post a Comment