Files
dotfiles/.tmux.conf
T

46 lines
986 B
Bash

#set -g default-terminal "xterm-256color"
#set -ga terminal-overrides ",*256col*:Tc"
set -g prefix C-s
unbind C-b
bind-key C-s send-prefix
unbind r
bind r source-file ~/.tmux.conf
set -g history-limit 100000
set -s escape-time 0
set -g focus-events on
set -g display-time 4000
set -g status-interval 5
#set -g status-keys emacs
setw -g mode-keys vi
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
set-option -g renumber-windows on
# set -g mouse on
bind-key K clear-history
bind-key H swap-window -t -1 -d
bind-key L swap-window -t +1 -d
bind-key -T prefix C-o select-pane -t :.+
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
bind-key -r Up resize-pane -U 2
bind-key -r Down resize-pane -D 2
bind-key -r Left resize-pane -L 2
bind-key -r Right resize-pane -R 2
bind -r m resize-pane -Z
set -g pane-border-lines simple