phux docs

Default key bindings

Every key phux binds out of the box.

Press the prefix, C-a, then one of the keys below. Hesitate after the prefix and phux shows this same list in a popup. Every key can be rebound or unbound in [keybindings.prefix-table]; see Key bindings. phux config keys prints the bindings in effect, your changes included.

A capital letter means Shift: X is Shift+x. Where two keys share a row, either one works.

Pane

KeysDoesAction
” -Split belowsplit-pane
% |Split rightsplit-pane
xKill panekill-pane
h j k lFocus left, down, up, rightfocus-direction
H J K LResize left, down, up, rightresize-pane
oNext panenext-pane
;Previous paneprevious-pane
=Last panelast-pane
zZoom panetoggle-zoom
[Copy modecopy-mode
FInsert path…find-path
WTake the wheeltake-input
gGive back the wheelgive-input
fFreeze panesignal-terminal
uResume panesignal-terminal

Tab

KeysDoesAction
cNew tabnew-window
XKill tab…kill-window
0–9Go to tabselect-window
Tab nNext tabnext-window
pPrevious tabprevious-window
wGo to tab…window-picker
,Rename tab…rename-window
<Move tab leftmove-window
>Move tab rightmove-window
GNew tab in folder…go-to-directory

Session

KeysDoesAction
CNew session…new-session
sGo to session…session-picker
NNext sessionnext-session
PPrevious sessionprevious-session
)Last sessionlast-session
$Rename session…rename-session
dDetachdetach

phux

KeysDoesAction
: ? SpaceCommand palettecommand-palette
AAgentsagent-fleet
qNext waiting panenext-attention
QBack where you werereturn-from-attention
bToggle sidebartoggle-sidebar
SSettingssettings
BReport a bugreport-bug
aCycle agents filteragents-filter
OOrganize everythingorganize
RResize modeenter-mode

Without the prefix

No global bindings ship, so every key without the prefix goes to the program in the pane. Add your own under [keybindings.global].

Key modes

While a mode is on, its keys work without the prefix and the status bar shows its name. Esc leaves any mode that does not bind it. See Key modes.

resize

Press C-a, then R. Keys the mode does not bind do nothing while it is on.

KeysAction
Downresize-pane amount=1 direction=down
Enterexit-mode
Hresize-pane amount=5 direction=left
Jresize-pane amount=5 direction=down
Kresize-pane amount=5 direction=up
Lresize-pane amount=5 direction=right
Leftresize-pane amount=1 direction=left
Rightresize-pane amount=1 direction=right
Upresize-pane amount=1 direction=up
hresize-pane amount=1 direction=left
jresize-pane amount=1 direction=down
kresize-pane amount=1 direction=up
lresize-pane amount=1 direction=right