Scroll Offset
approvedby Lijyze
Preserve custom distances before or after cursor.
Obsidian Scroll Offset
This plugin can keep a custom distance before and after cursor, just like scrolloff in vim of cursor surrounding lines in VS-Code.
Usage
- Define a distance you like in setting tab.
- Enjoy it!
You can set the distance to either a fixed distance with unit in px or a relative distance to the height of the content area.
Notice
This plugin will exam the boundary situation. If the given distance more than half of the content area, it will be regarded as half of the content (actually less then half, beacause of the height of cursor).
Manually installing the plugin
- Copy over
main.js,styles.css,manifest.jsonto your vaultVaultFolder/.obsidian/plugins/obsidian-scroll-offset/.
Donating
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.
