Tmux cheatsheet

Table of contents

I check Daniel Miessler’s Tactical tmux constantly, so I decided to make a more condensed cheatsheet specific to check locally. This isn’t a tutorial so much as a list of reference commands and related configurations for good measure. I’m by no means a power-user, so I’ll be updating this as I accumulate tmux-related knowledge.

Bash interface

Commands

All commands are prefixed by ctrl-b.

.tmux.conf

bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R

.vimrc

Add the following lines to your .vimrc to allow for tmux to share the color scheme as your terminal:

if $TERM == 'screen'
    set t_Co=256
endif

Original SE link

ยท 2 min read