Navigate, scroll, preview, and open links in Obsidian's Reading mode without leaving the keyboard.
Note
Obsidian's Vim key bindings setting is not required.
A fork of xlongfeng/obsidian-vim-scrolling that adds plain
d/uhalf-page scrolling, anflink hint mode, persistent link previews, and pop-out window support. Published with the original author's approval — see Credits.
- Vim-style instant scrolling in Reading mode, including key repeat
- Vimium-style
fhints for visible links - Persistent, mouse-independent Markdown previews for internal links
- Immediate system-browser opening for external links
- Cursor correction when switching from Reading mode back to the editor
- Main-window and pop-out-window support
| Context | Key | Action |
|---|---|---|
| Reading mode | j / k |
Scroll down / up |
| Reading mode | d / u |
Scroll down / up half a page |
| Reading mode | gg / G |
Scroll to the top / bottom |
| Reading mode | f |
Show hints for visible links |
| Hint mode | Hint characters | Select a link |
| Internal-link preview | Shift+J / Shift+K |
Scroll the preview down / up |
| Focused internal link | Enter |
Follow the link and close the preview |
| Hint or preview mode | Esc |
Cancel and close |
| Key | Action |
|---|---|
Ctrl+D (default) |
Scroll down half a page |
Ctrl+U (default) |
Scroll up half a page |
Not set (suggested Ctrl+F) |
Scroll down one Vim-style page |
Not set (suggested Ctrl+B) |
Scroll up one Vim-style page |
Configure page-scroll bindings under Settings → Vim Reading Navigation. The defaults are Ctrl+D for half-page down and Ctrl+U for half-page up. Full-page down and up are unassigned until you choose bindings.
These bindings work only in Reading mode and are configured here rather than Obsidian Hotkeys, so editor Vim keys remain available and
Ctrl+Fsearch is not overridden by default on Windows and Linux.
Half-page bindings move exactly half the viewport. Full-page bindings move one Vim-style page while preserving reading context. On Windows and Linux, assigning Ctrl+F replaces Search current file while a note is in Reading mode.
Built-in bare mappings and configurable page-scroll bindings are active only while the current Markdown view is in Reading mode, and they are ignored in inputs, editors, and modals. Lowercase j/k continue to scroll the note while an internal-link preview is open.
Selecting an internal link centers and highlights it, then opens a read-only preview that stays visible regardless of mouse movement. A plain note link renders the full note; heading and block links render only the resolved section or block.
Supported preview targets:
- Note, path, and alias links:
[[Note]],[[Folder/Note]],[[Note|Display text]] - Heading links:
[[Note#Heading]],[[#Same-note heading]] - Block links:
[[Note#^block-id]]and same-note block links - Relative Markdown links to Markdown notes
- Internal links in paragraphs, lists, tables, and callouts
Current limitations:
- Links and controls inside the preview are intentionally non-interactive.
- Links inside embedded or transcluded notes are excluded to prevent incorrect relative-path resolution.
- Non-Markdown files can be focused and opened with
Enter, but are not previewed. - Unresolved links show an error state.
- Standard footnotes (
[^id]), tags (#tag), andobsidian://URIs are not hint targets.
- Open a Markdown note in Reading mode.
- Use the built-in mappings above, configure page-scroll bindings in Settings → Vim Reading Navigation, or press
fto select links.
Install Vim Reading Navigation from Settings → Community plugins → Browse, or use the "Add to Obsidian" button on the store page.
To build the latest development version yourself:
- Node.js 18+ and npm
git clone https://github.com/DS-argus/vim-reading-nav
cd vim-reading-nav
npm install
npm run build # type-checks, then bundles src/ → main.jsThis produces main.js at the repo root. The three files Obsidian needs are main.js, manifest.json, and styles.css.
Create the plugin folder if it doesn't exist, then copy the three artifacts in.
macOS / Linux:
cp main.js manifest.json styles.css "<Vault>/.obsidian/plugins/vim-reading-nav/"Windows (PowerShell):
Copy-Item main.js,manifest.json,styles.css "<Vault>\.obsidian\plugins\vim-reading-nav\"
.obsidianis a hidden folder. The plugin folder name must match the pluginid(vim-reading-nav).
Reload Obsidian (Reload app without saving from the command palette), then enable Vim Reading Navigation under Settings → Community plugins.
npm run dev # watch mode — recompiles main.js on saveRe-copy main.js into the vault and reload Obsidian after each change, or point esbuild's output (esbuild.config.mjs) directly at your vault's plugin folder to skip the copy step.
A fork of obsidian-vim-scrolling by xlongfeng. The original provides the reading-mode scrolling and cursor-adjustment behaviour; this fork adds:
- Plain
d/uhalf-page scrolling - Configurable Reading-mode page-scroll bindings
- An
fVimium-style link hint mode with persistent previews and link activation - Pop-out window support
Published to the community plugin directory with the original author's explicit approval, per Obsidian's fork policy.
Distributed under the same 0BSD license as the original.