Skip to content

Instantly share code, notes, and snippets.

@gprasant
Last active October 16, 2015 18:20
Show Gist options
  • Save gprasant/79ec990d526af7dc6331 to your computer and use it in GitHub Desktop.
Save gprasant/79ec990d526af7dc6331 to your computer and use it in GitHub Desktop.
tmux keybindings

Key bingings

Purpose command
detach from session PRE d
go to window by number PRE <0..9>
enter command mode PRE :
list windows PRE w
rename window PRE ,
close current window PRE &
divide window vertically PRE |
divide window horizontally PRE -
display pane numbers PRE q
cycle through pane layouts PRE space
close pane PRE x
reload config PRE r
list buffers and select one PRE =
create new window PRE c

Tmux commands

Purpose command
open new session tmux new -s
open session with a name for the window tmux new -s <session_name> -n <window_name>
attach to a target tmux attach -t <session_name>
send keys to tmux session tmux send-keys -t '' C-m
select window tmux select-window -t
select layout tmux select-layout -t
specify app.conf tmux -f <path_to.conf> attach

Tmuxinator commands

Purpose Command
Open configuration for project tmuxinator open
Load tmux session for the project tmuxinator
List all projects tmuxinator list
Delete all projects tmuxinator implode
Delete project tmuxinator delete
Diagnose tmuxinator doctor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment