Last active
October 27, 2017 10:09
-
-
Save zhangxu/11244891 to your computer and use it in GitHub Desktop.
Tmux usage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default prefix: Ctrl+b | |
start new session: tmux | |
list sessions: tmux ls | |
attach to session: tmux attach [-t <session>] | |
attach to session forcely: tmux attach -d | |
detach: prefix then d | |
Windows: | |
new window: prefix then c | |
next/previous window: prefix then n/p | |
list windows: prefix then w | |
Panes: | |
new pane: prefix then " (h) / % (v) | |
iterate through panes: prefix then o | |
switch pane location: prefix then Ctrl + o | |
Copy & Paste | |
start copy mode: prefix then [ | |
start copy: ctrl + space | |
copy: alt + w | |
paste: prefix then ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment