Code Block

Copy Code Block

Focus a code block by pressing y or c to enter code select mode, then press Ctrl+Y or Enter to copy its content to the clipboard.

Ctrl+Y alone (outside select mode) copies the first visible code block on screen.

KeyAction
y / cEnter code select mode
Ctrl+YCopy focused (or first visible) code block
EnterCopy focused code block
EscExit code select mode

Toggle Line Numbers

Press Shift+L to toggle line numbers inside code blocks. You can also enable them by default via config:

code-line-numbers = true

Hit Bounds

Code blocks accept mouse clicks across their full rendered width, giving a more forgiving click target.

Hover

Hover highlights are disabled on code blocks to keep the rendered output stable while scrolling.