Changing the Settings for Z Command in VIM Mode

I use the official vim mode in Obsidian. When I do the Z command it scrolls to the middle. I don’t like that, is there a way to change this setting?
In vim i used to set it like this:

set scrollof=5

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.