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:
parent
02bc8ffd90
commit
166688ddeb
1 changed files with 11 additions and 11 deletions
|
@ -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>`
|
||||
|
|
Loading…
Add table
Reference in a new issue