btmux for tmux users
Most default keys match tmux. btmux uses Ctrl+A for the prefix. Set
prefix = "C-b" for tmux’s default.
Same as tmux
Section titled “Same as tmux”| Keys | Action |
|---|---|
% " |
Split |
Arrows, o, ; |
Move between panes, next, last |
x z q |
Kill pane, zoom, pane numbers |
{ } Space |
Swap pane, next layout |
c n p 0-9 |
New window, next, previous, select |
, & |
Rename window, kill window |
$ ( ) L |
Rename session, previous, next, last |
? |
Key list |
Same key, different meaning
Section titled “Same key, different meaning”| Key | tmux | btmux |
|---|---|---|
w |
choose-tree | window grid (live thumbnails) |
s |
choose-tree | session/window switcher |
t |
clock | process viewer |
f |
find-window | file browser |
m |
mark pane | LaTeX overlay |
[ |
copy mode | opens scrollback in the configured editor |
l |
last-window | pane right (h j k too); last-window unbound |
/ |
describe key | search the scrollback |
] |
paste buffer | pastes the system clipboard |
: |
command prompt | command palette of btmux commands |
C |
(unbound) | new session (prompts for name) |
g a |
(unbound) | Git mode, agent view |
e b |
(unbound) | editor, browser |
W X |
(unbound) | new Git worktree (prompts for branch), remove it |
Rebind any of them under [keys].
Behaviors that differ
Section titled “Behaviors that differ”- Window order. Windows are numbered by display order, which defaults to
alphabetical (
window-sort).n,pand0-9follow that order, not creation order. Setwindow-sort = "created"for tmux numbering. - Sessions are per client. Two clients can show different sessions, while
window and pane selection is shared by all of them.
Lgoes back to that client’s previous session. - No attach or detach. Closing the client detaches. See what survives a restart or upgrade.
- Size owner. The first client on a pane sets its size until it leaves or another client types, pastes, or clicks in it. tmux sizes to the smallest client by default.
- Last pane, window, session. Killing the last pane closes its window; killing the last window kills the session. The last session cannot be killed, and exiting its last shell starts a fresh session “0” instead of ending the server.
- Paste. A browser may ask for clipboard permission the first time.
- Prefix timeout. The prefix expires after 2 seconds; tmux waits indefinitely.
- Repeat.
repeat-timedefaults to0(off); tmux’s default is 500 ms. - Browser keys. Function keys and Cmd/Meta combinations are not forwarded to the terminal, apart from the macOS editing keys.
[keys]. Each action has one key. Overriding it moves the action off its default key rather than adding a second one.- Popups.
btmux display-popup(orpopup) takes-t -d -e -T -Eand closes when its program exits. Several arguments run as a program, not a shell command. Bind one with[[popup]]inconfig.toml. See Popups.
Not available
Section titled “Not available”- Copy mode and paste buffers (
=,#). Select with the mouse; btmux has no buffer stack. - tmux commands in
:. The prompt is a palette of btmux commands, such asselect-layout-*, notsplit-window -horresize-pane -R 5. From a shell, thebtmuxcommand has a subset of tmux’s. ddetach,!break-pane,.move-window,'select window by prompt,idisplay message,rrefresh,C-orotate,M-1..M-5layouts.bind-key,set-optionand a.tmux.conf; configuration isconfig.toml.