joeytwiddle / sexy_scroller.vim

smooth animation of the cursor and the page whenever they move, with easing
89 stars 7 forks source link

Do not trigger scrolling animation when Vim window is resized #13

Open joeytwiddle opened 8 years ago

joeytwiddle commented 8 years ago

Window resize often meets the coded criteria for a scroll animation, but this is not really helpful to the user.

To disable it, we may need to store and compare previous/current window size.

(What might help the user is to flash the current line, but that's a task for highlight_line_after_jump.vim)