tmux

tmux

July 23, 2023 | tool, linux, permanent, seedling

Tool #

tags
Terminal

Tmux is a terminal multiplexer an alternative to GNU Screen . In other words, it means that you can start a Tmux session and then open multiple windows inside that session. Each window occupies the entire screen and can be split into rectangular panes. difference between pane,window and session image

github Written in C language.

Compatible OS #

CS #

Prefix default: ctrl+b custom: ctrl+w unless stated all the command are followed by prefix

create new window
c
detach session
d
attach
`tmux attach -t(-d) name`
zoom
z
switch
w
tmux choose-tree
install plugin
I
close pane
x
rename session
:new -s name-session
/
describe key bindings
copy mode
[
rename session
$
pane to new window
!
selecting/deleting session, windows, pane interactively
<prefix> w x -> to delete selected session or window
list all commands
~ tmux list-keys ~
kill session
(assuming here that you’re on keepMe session)

copy paste workflow #

ref Add setw -g mode-keys vi in your tmux config

  1. Ctrl + [ to enter tmux vi copy mode
  2. Move around with vim navigation keys
  3. Begin highlight with Space(v)
  4. Copy with Enter(y)
  5. Paste with Ctrl + ] (<prefix> P)(exit copy mode)
  6. z: toggle zoom


No notes link to this note

Go to random page

Previous Next