Hotkeys

Tmux

Start Tmux with t. Enter command mode with Ctrl + B (called the prefix).

Hotkey Function
Ctrl + B Prefix key (required before commands)
Prefix D Detach from session
Prefix : Open command prompt
Prefix ? List all key bindings
Alt + R Reload tmux config

Windows

Hotkey Function
Prefix C New window (same directory)
Prefix R Rename window
Prefix & Kill window
Prefix N Next window
Prefix P Previous window
Prefix 0-9 Go to window by number
Prefix W Choose window from list

Panes

Hotkey Function
Prefix [pipe] Split horizontally (same directory)
Prefix - Split vertically (same directory)
Prefix Arrow keys Navigate between panes
Prefix Z Toggle pane zoom (fullscreen)
Prefix X Kill pane
Prefix Q Show pane numbers
Prefix O Cycle through panes
Prefix Space Cycle pane layouts
Prefix Shift + Left Resize pane left (by 10)
Prefix Shift + Right Resize pane right (by 10)
Prefix Shift + Up Resize pane up (by 10)
Prefix Shift + Down Resize pane down (by 10)

Sessions

Hotkey Function
Prefix Shift + C New session
Prefix Shift + X Kill session
Prefix Shift + R Rename session
Prefix S Choose session from list
Prefix ( Previous session
Prefix ) Next session

Scrollback copy mode

Hotkey Function
Prefix [ Enter copy mode
V (in copy mode) Begin selection
Y (in copy mode) Copy selection and exit
Prefix ] Paste from buffer

Neovim (w/ lazyvim)

Hotkey Function
Space Show command options
Space Space Open file via fuzzy search
Space E Toggle sidebar
Space G G Show git controls
Space S G Search file content
Ctrl + W W Jump between sidebar and editor
Ctrl + Left/right arrow Change size of sidebar
Shift + H Go to left file tab
Shift + L Go to right file tab
Space B D Close file tab

While in sidebar

Hotkey Function
A Add new file in parent dir
Shift + A Add new subdir in parent dir
D Delete highlighted file/dir
M Move highlighted file/dir
R Rename highlighted file/dir
? Show help for all commands

See all the Neovim hotkeys configured by LazyVim.