Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Moving around

lazybw uses Vim’s keys. If you know Vim, most of this page will be familiar.

Basic movement

KeysMoves
j / k (or the arrow keys)down / up one row
gg / Gto the first / last row
Ctrl-d / Ctrl-uhalf a page down / up
Ctrl-f / Ctrl-ba page down / up
H / M / Lto the top / middle / bottom of the visible rows
zz / zt / zbscroll so the cursor sits in the middle / top / bottom
h / lfocus the pane to the left / right
Tab / Shift-Tabfocus the next / previous pane

A number before a motion repeats it: 5j moves five rows down and 12G goes to the twelfth item. A few actions take a count too, so 3dd moves three items to the trash.

The leader key

Many commands start with the leader key, which is Space unless you change it. Space g opens the generator, Space l locks the vault, and so on. In this book the leader is written as Space.

Which-key

The which-key panel listing every command that can follow Space

Press Space and wait a moment. A panel opens above the status line with every key that can follow, each with a short description. Groups that lead to more keys are marked with a +, such as +folders behind Space f. The panel stays open until you press a key, and Esc cancels.

The same panel appears for the other prefixes: g, z, y and d.

If you type a sequence that does not exist, such as z followed by a key that has no meaning after z, lazybw drops the whole sequence and does nothing. It never runs the second key on its own.

Help

? opens the help for the screen you are on, grouped by context. Press / to search it, and q or Esc to close it.

Mouse

Clicking selects panes, rows and tabs, the wheel scrolls, and dragging a pane border resizes it. Set ui.mouse = false if you would rather the terminal kept the mouse for selecting text.

Redrawing the screen

If something ever leaves garbage on the screen, Ctrl-l repaints all of it.