Skip to content

Keybindings

Jordi vidal edited this page Feb 28, 2026 · 2 revisions

Keybindings

mdink uses vim-style navigation. All keybindings are active while the document is open.

Navigation

Key(s) Action
j / ↓ / scroll down Scroll down one line
k / ↑ / scroll up Scroll up one line
d / Page Down Scroll down half a page
u / Page Up Scroll up half a page
g / Home Jump to the top of the document
G / End Jump to the bottom of the document
q / Esc Quit
Ctrl+C Quit

Outline panel

Press o to toggle the outline panel, which displays h1–h3 headings from the document.

Key(s) Action
o Toggle outline panel on/off
Tab Select next heading
Shift+Tab Select previous heading
Enter Jump to selected heading
< Shrink panel width by 2%
> Grow panel width by 2%
Esc Close outline (side panel mode)

On wide terminals (≥ 101 columns), the outline appears as a persistent side panel. On narrower terminals, it appears as a dropdown overlay.

Width adjustments via < / > are session-only — they override the theme's width_percent for the current session and reset on exit. The allowed range is 10–33% of terminal width.

The status bar at the bottom shows the filename and a scroll percentage (0% = top, 100% = bottom).

Clone this wiki locally