Linux/tmux: Difference between revisions

From Wiki
mNo edit summary
mNo edit summary
Line 1: Line 1:
== Shortcuts ==
== Shortcuts ==
<pre>
<pre>
* CTRL-b + "        Split current pane vertically into two panes
CTRL-b + d        detach
* CTRL-b + %         Split current pane horizontally into two panes
 
Windows(=Tabs)
CTRL-b + c        create window
CTRL-b + w        list windows
CTRL-b + n        next window
CTRL-b + p        previous window
 
Panes(=Splits)
CTRL-b + %        vertical split
CTRL-b + "        horizontal split
 
CTRL-b + o        swap panes
CTRL-b + q        show pane numbers
CTRL-b + x         kill pane


* CTRL-b + d        detach
</pre>
</pre>



Revision as of 17:28, 23 December 2021


Shortcuts

CTRL-b + d         detach

Windows(=Tabs)
CTRL-b + c         create window
CTRL-b + w         list windows
CTRL-b + n         next window
CTRL-b + p         previous window

Panes(=Splits)
CTRL-b + %         vertical split
CTRL-b + "         horizontal split

CTRL-b + o         swap panes
CTRL-b + q         show pane numbers
CTRL-b + x         kill pane

Reattach

tmux a

tmux ls

tmux attach -t 0
tmux attach -t test

Other

tmux kill-session -t test

.tmux.conf

set -g mouse on

Links