tmux: add window management commands and small improvements (#4953)
This commit is contained in:
@@ -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>`
|
||||
|
Reference in New Issue
Block a user