VSCodeVim / Vim

:star: Vim for Visual Studio Code
http://aka.ms/vscodevim
MIT License
13.99k stars 1.32k forks source link

Feature request: Smooth Scroll #7959

Open armada45-pixel opened 2 years ago

armada45-pixel commented 2 years ago

Is your feature request related to a problem? Please describe. Before use vscode i use neo-vim,plug with psliwka/vim-smoothie. I was very disappointed when I scrolled up and down. I not smooth.

Describe the solution you'd like Have setting to smooth scroll like psliwka/vim-smoothie

Describe alternatives you've considered I've tried to enabled vscode smooth scroll but not working with vim extendion.

Additional context Example Github Psliwka vim-smoothie scrolling demo vim-smoothie [sexy_scroller.vim] [comfortable-motion.vim] [vim-smooth-scroll]
Supported commands All window scrolling commands (^D ^U ^F ^B zz zt zb etc.), gg1 G1 Almost all window and cursor movement commands ❤️ ^D ^U ^F ^B ^D ^U ^F ^B
Erratic screen jumps and jittering now and then Nope A lot💔 Nope Nope
Scrolling distance is proportional to window height
Easing out (soft-stop)
Supports setting [count] before movement (f.ex. 3^F to scroll down 3 pages)
Respects scroll and startofline options
^D and ^U behave correctly near buffer ends, just moving the cursor instead of scrolling the window
Terminal bell support
Pun in name

Credit: Github Psliwka vim-smoothie

benediktms commented 1 year ago

This a setting you can just set in VSCode, you don't need a plugin to handle it for you Screenshot 2023-02-20 at 14 25 56

armada45-pixel commented 1 year ago

This a setting you can just set in VSCode, you don't need a plugin to handle it for you Screenshot 2023-02-20 at 14 25 56

I already use this tick. No it not working. If you Ctrl + d , Ctrl + u cursor is jump not smooth scroll. image

lprc commented 1 year ago

Fwiw, setting the tick for the VS Code's editor smooth scrolling option works for me.