Skip to main content

tmux

PLEASE NOTE: I am in the process of making my notes public. This docs section is still work in progress. It currently is a summary of random tips for various things.
Found a mistake? Want to add something? Feel free to open an issue, send a pull request or an e-mail.

General info:
Homepage
Wikipedia
Source code
Documentation
Manual
Usefull links:
Blog posts
tmuxcheatsheet.com

Personal use

<L> is the LEADER key. The default is CTRL + b, but I changed it to CTRL + a as it is easier to press.

Add to your config:
unbind C-b
set -g prefix C-a
Remaping arrow keys to hjkl:
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R

Basics

LEADER:
LEADER or <L> is per default CTRL + b.
Reload tmux config for all panes:
:source-file ~/.tmux.conf # in tmux
tmux source-file ~/.tmux.conf # in terminal

Sessions

Rename session (3 options):
<L> + $
<L> + : -> rename-session [-t current-name] [new-name]
tmux rename-session [-t current-name] [new-name]
Detach session:
<L> + d
List sessions:
tmus ls
Re-attach session:
tmux a -t session-name
Kill session:
tmux kill-session -t session-name

Windows

Panes

Temporary set pane to full screen:
<L> + z
press it again to exit again
Split pane horizontally:
<L> + %
Split pane vertically:
<L> + "

E-Mail hellofoo@ittafoovern.comcom

TODO:
placeholder