Files
dotfiles/.tmux.conf
2016-11-14 16:44:43 -05:00

48 lines
1021 B
Bash

#configure mouse
set -g mode-mouse on
set -g mouse-select-pane on
set -g mouse-resize-pane on
set -g mouse-select-window on
set -g mode-keys vi
set -g history-limit 10000
# y and p
bind Escape copy-mode
unbind p
bind p paste-buffer
bind -t vi-copy 'v' begin-selection
bind -t vi-copy 'y' copy-selection
bind -t vi-copy 'Space' halfpage-down
bind -t vi-copy 'Bspace' halfpage-up
# vim move keys
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind -r C-k select-window -t :-
bind -r C-j select-window -t :+
# resize
bind -r H resize-pane -L 5
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r L resize-pane -R 5
unbind %
bind v split-window -h
bind b split-window -v
#lookin' good
set-window-option -g window-status-format " #I: #W "
set-window-option -g status-fg white
set-window-option -g window-status-current-format " #I: #W "
set-window-option -g window-status-current-fg yellow
set-option -g pane-active-border-fg colour94
set -g status-justify centre