dotfiles/tmux

28 lines
724 B
Text
Raw Permalink Normal View History

2017-12-10 12:01:30 +00:00
# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
2017-12-10 12:19:05 +00:00
# start with window 1 (instead of 0)
set -g base-index 1
# renumber windows sequentially after closing any of them
set -g renumber-windows on
2017-12-10 12:01:30 +00:00
# reload config file (change file location to your the tmux.conf you want to use)
bind r source-file ~/.tmux.conf
# Enable mouse mode (tmux 2.1 and above)
set -g mouse on
2017-12-10 12:19:05 +00:00
# don't rename windows automatically
set-option -g allow-rename off
2017-12-11 16:19:47 +00:00
# Get 256 colour support
set -g default-terminal "screen-256color"
# tell Tmux that outside terminal supports true color
set -as terminal-features ",xterm-256color:RGB"
# Tweak status bar styles
set -g status-style bg='color91',fg='color7'