Screenshot | Demo |
---|---|
![]() |
![]() |
Installation
Clone project and copy files to HOME
mkdir tmp_tmux
git clone https://gitlab.version.fz-juelich.de/chraibi1/tmux.git tmp_tmux
cp -r tmp_tmux/* ~
rm -r tmp_tmux
tmux
Nomenclatur
-
Window
: like tabs -
Pane
: a window can be splited in sub-windows -
Ctrl
: Control key -
Alt
: Alt key -
Ctrl-a
: typea
while holdingCtrl
Sessions
from shell prompt
-
tmux ls
: list sessions -
tmux attach -t <num> or <name>
: attach to sessionnum
orname
-
tmux rename-session
[-t current-name] [new-name]
Keystrokes
General
-
Ctrl-a c
: new window -
Ctrl-a ,
: change name of the window -
Ctrl-a v
: split vertically -
Ctrl-a h
: split horizontally -
Ctrl-a z
: full screen on selected pane -
Ctrl-a x
: close windows (answer question with y) -
Ctrl-a [
: enter text-mode to navigate the window (q
to exit) -
Ctrl-a r
: refresh tmux after changing~/.tmux.conf
Navigation windows
-
Ctrl-p
: previous window -
Ctrl-n
: next window -
Ctrl-arrow
: navigate panes (up, down, left, right) -
Ctrl-number
: select windo withnumber
Copy text
- Enter text-mode with
Ctrl-a [
Ctrl-space
- move with arrows to mark text
-
Alt-w
: copy -
Ctrl-a ]
: paste
Search
- Enter text mode with
Ctrl-[
-
Ctrl-s
: searching forwards -
Ctrl-r
: searching backwards
Attach / Detach sessions
-
Ctrl-a d
: detach session - To attach again to a detached session start tmux in a terminal as
tmux attach