Based on ~/.dotfiles/shared/.tmux.conf

Custom Bindings

Prefix: C-a (Ctrl+a)

Config

KeysAction
C-a rReload tmux config
C-a C-aSend literal Ctrl-a to app

Pane Splitting

KeysAction
C-a |Split horizontally (side-by-side)
C-a -Split vertically (top/bottom)

Pane Navigation (vim-style)

KeysAction
C-a h/j/k/lMove left/down/up/right

Pane Resizing (repeatable)

KeysAction
C-a H/J/K/LResize left/down/up/right by 5

Window Navigation (repeatable)

KeysAction
C-a C-hPrevious window
C-a C-lNext window

Fuzzy File Finder (no prefix)

KeysAction
Alt-pOpen fzf popup (80×80%, bat preview)
Ctrl-g (inside fzf)Switch to no-ignore mode (shows gitignored files)
Ctrl-h (inside fzf)Switch back to normal mode

Default Bindings (Unchanged)

Sessions

KeysAction
C-a dDetach from session
C-a sList/switch sessions (interactive)
C-a $Rename current session
C-a ( / C-a )Previous / next session

Windows

KeysAction
C-a cCreate new window
C-a &Kill current window (with confirm)
C-a ,Rename current window
C-a wList/switch windows (interactive)
C-a 1-9Jump to window by number
C-a p / C-a nPrevious / next window

Pane Management

KeysAction
C-a xKill current pane (with confirm)
C-a zToggle pane zoom (fullscreen)
C-a !Break pane into its own window
C-a { / C-a }Swap pane with previous / next
C-a SpaceCycle through pane layouts
C-a oCycle to next pane
C-a ;Toggle to last active pane
C-a qShow pane numbers (type number to jump)

Copy Mode (scroll/search)

KeysAction
C-a [Enter copy mode (vi keys to navigate)
qExit copy mode
/ / ?Search forward / backward
SpaceStart selection
EnterCopy selection and exit
C-a ]Paste buffer

CLI Commands

CommandAction
tmux new -s nameNew named session
tmux lsList sessions
tmux a -t nameAttach to named session
tmux kill-session -t nameKill a session
tmux kill-serverKill server (needed after set-clipboard changes)

Config Highlights

  • Mouse: on
  • Base index: 1 (windows and panes start at 1)
  • Escape time: 1ms (no delay after prefix)
  • Clipboard: OSC52 on (works over SSH)
  • Allow-passthrough: on (tmux 3.3+)
  • Activity monitoring: on