Sorin Gherghisan22 downloadsScroll one line at a time with Ctrl+Up/Down, just like in VSCode and other code editors.
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.
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.
main.js, manifest.json, and styles.css from the latest releasescroll-control inside your vault's .obsidian/plugins/ directoryCtrl+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:
Both commands are always available in the command palette, whether the built-in binding is on or off.
# 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.