Keep that cursor visible (Scrolling Plugin)

I got annoyed that my cursor often is right at the top or bottom of the screen.
I just want to view some context above and below my cursor.

That’s something I liked in vim, the scrolloff option.

So I made a plugin that does something similar: “Scrolling”
(can be found in community plugins)

It’s quite customizeable and has some more features such as modifying scroll speed and smoothness and tweaking the scrollbar appearance a bit.

Let me know if you like it!
I hope it helps you (:

Something prevents me from posting any links, but in case you are interested, you can find the repo on Github under omeyenburg/obsidian-scrolling

Because your account is new.

Did you know typewriter mode ? What other problems does your plugin try to solve than this one doesn’t ? Does it work when the cursor is in a table in edit view ?

1 Like

Yea, I saw that plugin, unfortunately only after i finished mine.
But the Scrolling plugin allows for a bit more customizability and doesnt pin the cursor exactly in the center of the screen (unless you configure it to do so).

But thanks for that hint with tables, i never tested this and it is indeed not working correctly, I will work on this as soon as possible.

Otherwise, my plugin provides some more features like hiding the scrollbar and changing mouse scroll speed.
Also I’m about to publish two more features, that i saw being asked for around here:

  • adding a horizontal scrollbar
  • jumping back to the last position in a file when opening it

And again, every single feature can be disabled entirely without performance costs.

Newer user accounts have some limitations to guard against spam. You’ll be able to post links when you’ve been around a little longer. In this case readers can search the name in community plugins anyway (which they’ll do anyway if they want to install it), so it’s not too big a deal.