Skip to content

Latest commit

 

History

History
123 lines (108 loc) · 2.49 KB

tmux.md

File metadata and controls

123 lines (108 loc) · 2.49 KB

Tmux

Resources

Configuration

Create tmux configuration file so that it reads on every execution?
touch ~/.tmux.conf

Resources


References


Replace prefix key with other key-bindings?

Default prefix key is Ctrl-b.

set-option -g prefix C-n
set-option -g prefix2 C-f

Resources


References


Server

What is the role of tmux server and clients?

Description

tmux keeps all its state in a single main process, called the tmux server. This runs in the background and manages all the programs running inside tmux and keeps track of their output. The tmux server is started automatically when the user runs a tmux command and by default exits when there are no running programs.

Users attach to the tmux server by starting a client.


Resources


References


Client

Create a new session?
tmux new-session -s session-name

Shortcut: C-s


Resources


References


Create a new window?

Description

tmux new-window -n window-name

Shortcut: C-c


Resources


References


Create a new pane by spliting window vertically or horizontally?

Shortcut:

  • vertically split by C-%
  • horizontally split by C-"

Resources


References