Add tmux
This commit is contained in:
12
tmux/commands.md
Normal file
12
tmux/commands.md
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
# tmux Commands
|
||||||
|
This document will refer to tmux as the alias `t`.
|
||||||
|
## New tmux session
|
||||||
|
`t`
|
||||||
|
## New tmux session with name
|
||||||
|
`t new -s NAME`
|
||||||
|
## List tmux session
|
||||||
|
`t ls`
|
||||||
|
## Attach back to a session
|
||||||
|
`t a -t SESSION`
|
||||||
|
## Attach back to the last session
|
||||||
|
`t a`
|
||||||
21
tmux/shortcuts.md
Normal file
21
tmux/shortcuts.md
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
# tmux Shortcuts
|
||||||
|
## Session management
|
||||||
|
### Detach session
|
||||||
|
`C-b d`
|
||||||
|
### List sessions
|
||||||
|
`C-b s`
|
||||||
|
### Rename session
|
||||||
|
`C-b $`
|
||||||
|
## Panes
|
||||||
|
### Vertical split
|
||||||
|
`C-b %`
|
||||||
|
### Horizontal split
|
||||||
|
`C-b "`
|
||||||
|
### Switch panes
|
||||||
|
`C-b r-arrow`
|
||||||
|
`C-b l-arrow`
|
||||||
|
## Text manipulation
|
||||||
|
### tmux Copy mode
|
||||||
|
`C-b [`
|
||||||
|
### tmux Paste mode
|
||||||
|
`C-b ]`
|
||||||
Reference in New Issue
Block a user