
Heading Link Sync
Update heading links and embeds when you edit a heading.
Show a line number for each wrapped row in the editor.
MIT · no telemetry · core features free
Pro adds "Count folded lines" and "Highlight the current row". Pro for all 134 plugins, $15 one time

The reported checks use desktop Obsidian; no phone or tablet test establishes mobile behavior.
Directory facts fetched from community.obsidian.md/users/theluckystrike.
You use Vim key bindings in Obsidian, your long lines wrap, and you move with counted motions such as 5gj.
Core line numbers give a wrapped line one number. A paragraph that wraps onto five rows still counts as one, so the gutter can't tell you how far away a row is. Visual Line Numbers counts the rows that the editor draws.
In relative and hybrid mode the numbers count rows from the cursor. Map j and k to gj and gk, and 5j lands on the row that shows 5. The gutter, the four modes and the commands are free.
Play demoRelative mode is the default. The cursor row shows 0, and the rows above and below show how many rows away they are. A paragraph that wraps onto four rows shows four numbers.
Hybrid mode gives the same counts. The cursor row shows the line number of the cursor line instead of 0, as Vim does with both options on.

Absolute mode shows the line number on the first row of each line. The rows that a long line wraps onto have no number. So the gutter matches the line numbers that other tools and error messages use.

Use Toggle the number gutter or Cycle number mode from the command palette. Four commands set absolute, relative, hybrid or dual numbers directly. The settings tab offers the gutter switch and number mode choice.

Dual mode puts document line numbers on the left and wrapped row distances on the right, with 0 on the cursor row. The left column numbers only the first row of each document line. Select Dual in Number mode or run Use dual numbers.

The free version has the gutter, four number modes, the commands and the settings tab.
Pro costs $5 a month or $15 one time through GitHub Sponsors.
Turn on Count folded lines and each line that a fold hides takes one count. The number of the row below a fold then matches the document lines between it and the cursor. With the option off, a fold counts as the one row you see.

The cursor row shows its number in bold on a tinted background. It uses the accent color, or your hybrid cursor color if you chose one.

Hover over a number to see the Vim motion that reaches that row. A row five rows below the cursor shows 5gj, and a row three rows above shows 3gk.

Turn on Per-note property, then add visual-line-numbers: false to the properties of a note to hide its gutter. Every other note keeps its gutter. Use it for notes with long prose, where numbers add noise.

Choose one color for absolute numbers, one for relative numbers, and one for the line number on the cursor row in hybrid mode. Without a chosen color, the numbers use the theme. Dual uses the absolute and relative colors, with the hybrid cursor color for its 0.

$15 once. Pro tools in 134 NoteMods plugins with one GitHub sponsorship. Nothing renews.
Pro turns on right after payment. Select Sign in with GitHub in the settings of each plugin you use. Free features stay free.
Secure checkout by GitHub Sponsors - needs a GitHub login.
17 of 50 founding licenses sold.
The price is set on the 1st of each month. It goes up only after a tier is full. Until then it stays $15. The next price review is on 1 December 2026.
A price change does not change a license that you paid for. The $5 a month option stays.
One sponsorship turns on the Pro features in 134 NoteMods plugins. Free features stay free.
$15 one time: Pro stays on, nothing renews. $5 a month: Pro is on while you sponsor, and stays on after you have paid $15 in total. You pay on GitHub (a GitHub login is needed), then select Sign in with GitHub in the plugin settings. All sponsor tiers
needs
j and k mapped to gj and gk.steps
Install Visual Line Numbers from Community plugins and enable it.
Open Settings, Editor and turn off Show line numbers, so two gutters of numbers don't show together.
Open a note in Live Preview or Source mode and look at the left of the text.
For counted motions, turn on Vim key bindings in Settings, Editor and map j and k to gj and gk.
With the Vimrc Support plugin, add nmap j gj and nmap k gk to your vimrc file.
If the app can't find a new plugin yet, try again later. Obsidian says a plugin that passes the review shows in the app within 24 hours.
The request Numbering Visual Lines on the Relative Line Numbers plugin has been open since March 2023 and has 39 reactions. An older request on Vimrc Support, with 7 reactions, describes the same mismatch between counts and line numbers.
How to get relative line numbers on wrapped lines in Obsidian
j and k to gj and gk, the gutter count doesn't match the motion.visual-line-numbers: false still shows the gutter, and nothing in the note says that the property needs Pro.Show line numbers as it is, so two number gutters show until you turn that setting off.Need a change for your team? I build custom Obsidian plugins and features.
Core line numbers give a wrapped line one number. Visual Line Numbers puts a number on every display row, and relative mode counts rows from the cursor. Turn off Show line numbers in Settings, Editor first.
On screen, yes, because the counts come from the rows that the editor draws. When the cursor is off screen, the editor has only estimated heights for lines it hasn't drawn. The relative numbers are then close, and exact again once the cursor line is back on screen. Absolute mode and the hybrid cursor line number are always exact.
Yes, by default. A folded section is drawn as one row, so it counts as one. With Pro, Count folded lines counts every hidden line as well.
The plugin measures only the lines that the editor draws, which are the lines on screen and a margin around them. It measures again when the note, the scroll position or the window width changes.
No. The gutter shows in Live Preview and in Source mode. Reading view and the canvas are out of scope.
Until you select Sign in with GitHub in the settings, the code of Visual Line Numbers sends no network request. After a successful check, the plugin waits 7 days before it asks GitHub again, and Refresh asks at once. After a failed check it tries again every 6 hours, and no check sends note content, file names or other vault data.
Tell me what is broken in Visual Line Numbers, or what it should do next.
Visual Line Numbers 1.2.4, MIT license
MIT · no telemetry · core features free
Pro adds "Count folded lines"Pro for all 134 plugins, $15 one time
Get Pro