Skip to content

Instantly share code, notes, and snippets.

Created January 22, 2018 11:24
What would you like to do?
# remap prefix from 'C-b' to 'C-a'
# set -g default-terminal "screen-256color"
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# split panes using | and -
bind / split-window -h -c "#{pane_current_path}"
bind - split-window -v -c "#{pane_current_path}"
unbind '"'
unbind %
# reload config file (change file location to your the tmux.conf you want to use)
bind r source-file ~/.tmux.conf
set -g mouse
# don't rename windows automatically
set-option -g allow-rename off
set-option -g status on
set-option -g status-interval 2
set-option -g status-justify "centre"
set-option -g status-left-length 60
set-option -g status-right-length 90
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment