Dotfiles/tmux/tmux.conf

44 lines
1001 B
Plaintext

set -g default-terminal "screen-256color"
#set -ga terminal-overrides '*:Ss=\E[%p1%d q:Se=\E[ q' # this is for the cursor shape
set -g prefix Insert
bind Insert send-prefix -2
bind z run-shell "tks"
bind r source-file ~/.tmux.conf
bind a resize-pane -Z
set -sg escape-time 0
set-option -g history-limit 5000
set -g status-right "%Y-%m-%d %H:%M"
# split panes using | and -
bind | split-window -h "fish -C last_cd"
bind < split-window -h "fish -C last_cd"
bind - split-window -v "fish -C last_cd"
unbind '"'
unbind %
# pane switching
bind M-h select-pane -L
bind M-l select-pane -R
bind M-k select-pane -U
bind M-j select-pane -D
bind h select-pane -L
bind l select-pane -R
bind k select-pane -U
bind j select-pane -D
set -g mouse on
set-option -g set-titles on
set-option -g set-titles-string "#S - #W"
# statusbar
set -g status-position bottom
set -g status-justify left
set -g status-left ''
set -g status-right-length 50
set -g status-left-length 20
source-file ~/.config/tmux/colours.conf