Tmux: Difference between revisions

From DWIKI
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
Terminal Multiplexer
Terminal Multiplexer


=Links=
*[https://robots.thoughtbot.com/a-tmux-crash-course tmux crash course]
*[https://gist.github.com/Bekbolatov/6840069e51382965fdad Tmux cheat sheet]


=FAQ=
= Links =
 
*[https://robots.thoughtbot.com/a-tmux-crash-course tmux crash course]
*[https://gist.github.com/Bekbolatov/6840069e51382965fdad Tmux cheat sheet]
*[https://gist.github.com/Starefossen/5955406 Another cheat sheet]
*https://lukaszwrobel.pl/blog/tmux-tutorial-split-terminal-windows-easily/
 
 
= FAQ =
 
== remap control to ^a ==


==remap control to ^a==
In ~/.tmux.conf
In ~/.tmux.conf
  unbind C-b
  unbind C-b
  set -g prefix C-a
  set -g prefix C-a
  bind C-a send-prefix
  bind C-a send-prefix


==new window==
== new window ==
 
  ^b c
  ^b c


==switch window==
== switch window ==
 
  ^b n
  ^b n


==Wrong window size==
== Kill window ==
^b &
 
== Wrong window size ==
 
Detach the others:
Detach the others:
  ^b :detach -a
  ^b :detach -a


==Attach==
== Attach ==
 
  tmux a
  tmux a

Latest revision as of 10:07, 22 December 2021

Terminal Multiplexer


Links


FAQ

remap control to ^a

In ~/.tmux.conf

unbind C-b
set -g prefix C-a
bind C-a send-prefix

new window

^b c

switch window

^b n

Kill window

^b &

Wrong window size

Detach the others:

^b :detach -a

Attach

tmux a