From 4347222876022e98d6ce8f0e1f6ab9a60159c653 Mon Sep 17 00:00:00 2001 From: kaernyk Date: Thu, 4 Sep 2014 14:30:25 -0400 Subject: [PATCH] Update LearnTmux.txt --- LearnTmux.txt | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/LearnTmux.txt b/LearnTmux.txt index e73d1485..3396989f 100644 --- a/LearnTmux.txt +++ b/LearnTmux.txt @@ -23,16 +23,15 @@ tmux to suit your needs, I strongly suggest you read the man pages. -s "Session" Create named session -n "Window" Create named Window -c "/dir" Start in target directory - ex: $ tmux new -c "~/" -s "Name" -n "Name" - + C^b $ Rename current session - C^b d Detach current session C^b D Select session to detach tmux attach Attach last/available session -t "#" Attach target session -d Detach the session from other instances + tmux ls List open sessions 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 Vertically - exit or C^b x Kill the current pane - C^b q Briefly display pane indexes C^# Choose current window by # 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 Up, Right Change to pane in selected direction Down, left - - C^b { Swap current/previous pane - C^b } Swap current/next pane - + C^b { Swap current/previous window + C^b } Swap current/next window C^b C-Up, Right Resize in steps of one cell Down, left - C^b M-Up, Right resize in steps of five cells 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 + ```