Scroll Control
approvedby Sorin Gherghisan
Scroll one line at a time with Ctrl+Up/Down, just like in VSCode and other code editors. - This plugin has not been manually reviewed by Obsidian staff.
Scroll Control
Scroll one line at a time with Ctrl+Up/Down, just like in VSCode, Notepad++, Sublime Text, and other code editors.
That's it. One job, done right.
What it does
In most code editors, Ctrl+Up and Ctrl+Down scroll the viewport by one line without moving the cursor. Obsidian doesn't have this by default. This plugin adds it.
| Shortcut | Action |
|---|---|
Ctrl+Up | Scroll viewport up by one line |
Ctrl+Down | Scroll viewport down by one line |
The cursor stays where it is. Only the view moves.
Installation
From Obsidian Community Plugins (recommended)
- Open Settings > Community plugins > Browse
- Search for Scroll Control
- Click Install, then Enable
Manual installation
- Download
main.js,manifest.json, andstyles.cssfrom the latest release - Create a folder
scroll-controlinside your vault's.obsidian/plugins/directory - Place the downloaded files in that folder
- Restart Obsidian and enable the plugin under Settings > Community plugins
Customizing hotkeys
Ctrl+Up and Ctrl+Down are bound inside the editor itself, which is what lets the
scroll repeat while you hold the key down.
If you would rather use different keys, open Settings > Scroll Control and turn off Use built-in Ctrl+Up/Down. Then go to Settings > Hotkeys, search for "Scroll Control", and assign whatever you like to the two commands:
- Scroll Control: Scroll line up
- Scroll Control: Scroll line down
Both commands are always available in the command palette, whether the built-in binding is on or off.
Development
# Clone the repo
git clone https://github.com/soringherghisan/obsidian-scroll-control.git
cd obsidian-scroll-control
# Install dependencies
npm install
# Build for development (watches for changes)
npm run dev
# Build for production
npm run build
To test locally, symlink or copy the repo into your vault's .obsidian/plugins/scroll-control/ directory.
License
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.