tmux
Config
-
GitHub - gpakosz/.tmux (opens in a new tab)
My current choice
Cheatsheet
- Based on the config of
gpakosz/.tmux
List key bindings
<PREFIX>+?
List all sessions
<PREFIX>+s
Rename current session
<PREFIX>+$
Detach from the current session
<PREFIX>+d
Rename current window
<PREFIX>+,
Close current window
<PREFIX>+&
Next window
<PREFIX>+Ctrl - l
Previous window
<PREFIX>+Ctrl - h
Create a new window
<PREFIX>+c
Split pane with horizontal layout
<PREFIX>+_
Split pane with vertical layout
<PREFIX>+-
Switch to pane in different directions
-
<PREFIX>+<Arrow Key>or
-
<PREFIX>+h/j/k/l
Resize panes
<PREFIX>+H/J/K/L
Toggle panes between horizontal and vertical layout
<PREFIX>+<SPACE>
Close current pane
<PREFIX>+x
Save sessions (tmux-resurrect)
<PREFIX>+Ctrl - s
Restore sessions (tmux-resurrect)
<PREFIX>+Ctrl - r
Open local config (~/.tmux.conf.local)
<PREFIX>+e
Copy and paste in tmux
- Use TPM plugin
tmux-yank