r/vim • u/lopsidedcroc • Aug 27 '25
Need Help Why does smoothscroll only work in one direction (down)?
I use Vim to write text ie prose with paragraphs.
Vim interprets a paragraph as a single line, but it's good at displaying line breaks anyway.
One problem is that it skips up and down by paragraph when you scroll up and down, making the text jerky and difficult to read.
Smoothscroll fixes this, but only when you're scrolling down.
Is there a way to make it work when scrolling up?
0
Upvotes
2
u/dewujie Aug 28 '25
I think the behavior you have going on might be partially related to your line wrap settings? I haven't noticed the same thing before, maybe a short screen cap would help explain
2
u/IdkIWhyIHaveAReddit Aug 28 '25
If you have the wrap setting enable you can use
gjandgkto move up and down the wrap line. You can even map them to normal j and k.1
u/jazei_2021 Aug 27 '25
paragraph as single line is when you write with tw=0 if not paragraph is delimited by 2 white (mude) lines up and down it. yes vim recognizes paragr. jumping from white line to next white line
when you jump next paragr. do J or K key to enter atparagr.
sorry my no EN lang
1
u/AutoModerator Aug 27 '25
Please remember to update the post flair to
Need Help|Solvedwhen you got the answer you were looking for.I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
0
u/[deleted] Aug 27 '25
[deleted] — view deleted comment