Command | Description |
---|---|
Ctrl+b [ |
Enter copy mode |
<Space> |
Start selection |
Enter |
Copy selection |
q |
Quit copy mode |
Ctrl+b ] |
Paste contents of buffer_0 |
Mainly works like selecting text in Vim |
Tmux CLI
Copy Mode
Config
Reload config
$ tmux source-file ~/.tmuÂx.conf
Show config
$ tmux show-options -g
Tmux help
$ tmux info
Kill session
Kill a session by name
$ tmux kill-ses -t myname
Kill sessions but the current
$ tmux kill-ses -a
Kill sessions but 'myname'
$ tmux kill-ses -a -t myname
Attach session
Attach to last session
$ tmux a
Attach to named
$ tmux a -t myname
New session
Start a new session
$ tmux
Start a new named session
$ tmux new -s myname
Show all sessions
$ tmux ls
Comments