mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-05-05 14:28:31 +00:00
Update LearnTmux.txt
This commit is contained in:
parent
fd2cf1606f
commit
4347222876
@ -23,16 +23,15 @@ tmux to suit your needs, I strongly suggest you read the man pages.
|
|||||||
-s "Session" Create named session
|
-s "Session" Create named session
|
||||||
-n "Window" Create named Window
|
-n "Window" Create named Window
|
||||||
-c "/dir" Start in target directory
|
-c "/dir" Start in target directory
|
||||||
ex: $ tmux new -c "~/" -s "Name" -n "Name"
|
|
||||||
|
|
||||||
C^b $ Rename current session
|
C^b $ Rename current session
|
||||||
|
|
||||||
C^b d Detach current session
|
C^b d Detach current session
|
||||||
C^b D Select session to detach
|
C^b D Select session to detach
|
||||||
|
|
||||||
tmux attach Attach last/available session
|
tmux attach Attach last/available session
|
||||||
-t "#" Attach target session
|
-t "#" Attach target session
|
||||||
-d Detach the session from other instances
|
-d Detach the session from other instances
|
||||||
|
|
||||||
tmux ls List open sessions
|
tmux ls List open sessions
|
||||||
C^b s Select new session for attached client interactively
|
C^b s Select new session for attached client interactively
|
||||||
|
|
||||||
@ -48,8 +47,6 @@ tmux to suit your needs, I strongly suggest you read the man pages.
|
|||||||
C^b " Split Horizontally
|
C^b " Split Horizontally
|
||||||
C^b % Split Vertically
|
C^b % Split Vertically
|
||||||
|
|
||||||
exit or C^b x Kill the current pane
|
|
||||||
|
|
||||||
C^b q Briefly display pane indexes
|
C^b q Briefly display pane indexes
|
||||||
C^# Choose current window by #
|
C^# Choose current window by #
|
||||||
C^b w Choose current window interactively
|
C^b w Choose current window interactively
|
||||||
@ -57,13 +54,18 @@ tmux to suit your needs, I strongly suggest you read the man pages.
|
|||||||
C^b p Change to previous window
|
C^b p Change to previous window
|
||||||
C^b Up, Right Change to pane in selected direction
|
C^b Up, Right Change to pane in selected direction
|
||||||
Down, left
|
Down, left
|
||||||
|
C^b { Swap current/previous window
|
||||||
C^b { Swap current/previous pane
|
C^b } Swap current/next window
|
||||||
C^b } Swap current/next pane
|
|
||||||
|
|
||||||
C^b C-Up, Right Resize in steps of one cell
|
C^b C-Up, Right Resize in steps of one cell
|
||||||
Down, left
|
Down, left
|
||||||
|
|
||||||
C^b M-Up, Right resize in steps of five cells
|
C^b M-Up, Right resize in steps of five cells
|
||||||
Down, left
|
Down, left
|
||||||
|
C^b M-(1-5) 1 - Tile vertically
|
||||||
|
2 - Tile horizontally
|
||||||
|
3 - Tile Vertically /w large horizontal
|
||||||
|
4 - Tile horizontally /w large vertical
|
||||||
|
5 - Tile all windows evenly
|
||||||
|
|
||||||
|
exit or C^b x Kill the current window
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user