1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 13:05:59 +02:00

tmux: add window management commands and small improvements (#4953)

This commit is contained in:
Nuno Agostinho 2020-11-21 02:55:15 +00:00 committed by GitHub
parent 02bc8ffd90
commit 166688ddeb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,7 @@
- Start a new named session:
`tmux new-session -s {{name}}`
`tmux new -s {{name}}`
- List existing sessions:
@ -17,20 +17,20 @@
- Attach to the most recently used session:
`tmux attach-session`
`tmux attach`
- Attach to a named session:
`tmux attach-session -t {{name}}`
- Detach from the current session (with prefix Ctrl-B):
- Detach from the current session (inside a tmux session):
`Ctrl-B d`
- Create a new window (inside a tmux session):
`Ctrl-B c`
- Switch between sessions and windows (inside a tmux session):
`Ctrl-B w`
- Kill a session by name:
`tmux kill-session -t {{name}}`
- Kill the current session (with prefix Ctrl-B):
`Ctrl-B :kill-session<Enter>`