dotfiles/.tmux.conf
2021-10-26 20:40:04 +00:00

46 lines
1.2 KiB
Plaintext

###############################################################
# File: .tmux.conf
# jul.io
###############################################################
# I want 256 colors everywhere
set -g default-terminal "xterm-256color"
# C-b is not acceptable - VIM uses it
set-option -g prefix C-a
# bind-key C-a last-window
#Start numbering at 1
set -g base-index 1
#Rather than constraining window size to the maximum size of any client connected the session,
#constrain window size to the maximum size of any client connected to that window.
setw -g aggressive-resize on
# Allows us to use C-a a <command> to send commands to a TMUX session insisde another TMUX session
bind-key a send-prefix
#set -s escape-time 0
# Highlight active window
# before tmux 2.9
#set-window-option -g window-status-current-bg red
# since tmux 2.9:
set-window-option -g window-status-current-style bg=red
#split panes using | and -
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %
# switch panes using Alt-arrow without prefix
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
# set -g mouse on
# don't rename windows automatically
set-option -g allow-rename off