Skip to content

Comfy Line Numbers Extra

ui.comfy-line-numbers enables mluders/comfy-line-numbers.nvim. It shows relative line labels built from left-hand digits and maps those labels back to normal vertical motions.

Enable it

-- ~/.config/blak/lua/blak/user.lua
return {
extras = {
enabled = {
"ui.comfy-line-numbers",
},
},
}

Because this extra adds a plugin, run:

:BlakExtras sync

Or enable it interactively:

:BlakExtras enable ui.comfy-line-numbers
:BlakExtras sync

What it adds

SurfaceContribution
Pluginmluders/comfy-line-numbers.nvim
Line numbersRelative status-column labels using left-hand digits
KeymapsLabel + j / k motions
KeymapsLabel + <Down> / <Up> motions

The plugin’s default j and k motion labels remain enabled. Blak also registers matching arrow-key variants automatically, so a label such as 11 works with both 11j and 11<Down>.

How the labels work

The displayed label is not the raw relative line count. It is a left-hand digit label that Blak maps back to the actual count:

LabelMotion
1j or 1<Down>move down 1 line
5k or 5<Up>move up 5 lines
11j or 11<Down>move down 6 lines
34k or 34<Up>move up 19 lines

The generated mappings work in normal, visual, and operator-pending mode. They appear in :BlakKeys with descriptions.

Disable it

Remove "ui.comfy-line-numbers" from extras.enabled or run:

:BlakExtras disable ui.comfy-line-numbers
:BlakExtras sync

Restart Blak to unload the already-started status-column hooks and generated motion mappings cleanly.