notes/tmux.md

1.1 KiB

Ctlr+B activiates command entry (called the prefix)

panes

% = split pane right " = split pane below / = switch panes z = maximize/minimize pane x = kill pane Ctrl+B+ = resize

windows

c = create new window w = create window selection prompt prefix + , = rename window

sessions

d = detach session tmux ls = list sesions tmux attach -t 0 = attach to session 0

colors

setup a .tmux.conf file with this line set -g default-terminal 'screen-256color' point tmux to it with tmux source-file ~/.tmux.conf

fonts

powerline fonts https://github.com/vim-airline/vim-airline https://github.com/powerline/fonts sudo apt-get install fonts-powerline

plugins

using tmux plugin manager to install tmux-resurrect plugin manager: https://github.com/tmux-plugins/tpm resurrect: https://github.com/tmux-plugins/tmux-resurrect