-
Notifications
You must be signed in to change notification settings - Fork 10
tmux tips and shortcuts
Michael Hulse edited this page Sep 1, 2021
·
17 revisions
The tips in this document revolve around the mods made to tmux via the .tmux.conf
found here:
https://github.com/nqthqn/dotfiles
tmux ls — list sessions
tmux a -t <name-or-id-target-session> — attach to a running session
mod : kill-session -t <name-or-id-target-session> - deletes session
mod d - exit/detach from current tmux session (tmux detach also works)
mod T - rename session
mod ( - previous session
mod ) - next session
mod c - new window
mod > - switch to next window
mod < - switch to previous window
mod w - list windows
mod f - find window
mod t - rename window
mod v — split vertial (new pane)
mod h - split horiz. (new pane)
mod x - kill pane
mod z - zoom in/out pane
mod q - show pane numbers
mod ? - list shortcuts
mod r - reload config
prefix + Ctrl-(dash)
prefix + Ctrl-(dash)
prefix + Ctrl-(dash)
tmux select-layout even-vertical
prefix + Shift-(colon) splitw -fh
See: Super Guide to the split-window tmux Subcommand (and Beyond)
https://github.com/tmux-plugins/tpm https://github.com/tmux-plugins/tmux-resurrect
prefix + Ctrl-s - save
prefix + Ctrl-r - restore
More coming ...