Difference between revisions of "Terminal Multiplexer"
Jump to navigation
Jump to search
(→tmux) |
|||
| Line 2: | Line 2: | ||
== navigating == | == navigating == | ||
<code> | <code>Ctrl-b leftarrow</code> move active window horizontally</br> | ||
<code> | <code>Ctrl-b rightarrow</code> move active window horizontally</br> | ||
<code> | <code>Ctrl-b uparrow</code> move active window vertically</br> | ||
<code> | <code>Ctrl-b downarrow</code> move active window vertically</br> | ||
<code> | <code>Ctrl-b pgup/pgdown</code> scroll up/down (window)</br> | ||
<code> | <code>Ctrl-b [ + arrow keys</code> scroll up/down (line)</br> | ||
== listing, creating, renaming, killing == | == listing, creating, renaming, killing == | ||
| Line 15: | Line 15: | ||
<code>tmux rename -t sessionname newname</code> rename $sessionname to $newname</br> | <code>tmux rename -t sessionname newname</code> rename $sessionname to $newname</br> | ||
<code>tmux attach -t sessionname</code> attach to $sessionname</br> | <code>tmux attach -t sessionname</code> attach to $sessionname</br> | ||
<code> | <code>Ctrl-b d</code> detach from session</br> | ||
== resizing == | |||
<code>Ctrl-b ALT arrow_keys</code> spawn terminal horizontally</br> | |||
== spawning == | == spawning == | ||
<code> | <code>Ctrl-b %</code> spawn terminal horizontally</br> | ||
<code> | <code>Ctrl-b "</code> spawn terminal vertically</br> | ||
Revision as of 18:00, 9 February 2023
tmux
Ctrl-b leftarrow move active window horizontally
Ctrl-b rightarrow move active window horizontally
Ctrl-b uparrow move active window vertically
Ctrl-b downarrow move active window vertically
Ctrl-b pgup/pgdown scroll up/down (window)
Ctrl-b [ + arrow keys scroll up/down (line)
listing, creating, renaming, killing
tmux ls list sessions
tmux kill -t sessionname kill tmux session with name $sessionname
tmux new -s sessionname create tmux session with name $sessionname
tmux rename -t sessionname newname rename $sessionname to $newname
tmux attach -t sessionname attach to $sessionname
Ctrl-b d detach from session
resizing
Ctrl-b ALT arrow_keys spawn terminal horizontally
spawning
Ctrl-b % spawn terminal horizontally
Ctrl-b " spawn terminal vertically