Files
dotfiles/.tmux.conf
2018-03-07 17:09:53 -08:00

52 lines
1.1 KiB
Bash

#configure mouse
set-option -g mouse on
set -g mode-keys vi
set -g history-limit 10000
# y and p
bind Escape copy-mode
unbind p
bind p paste-buffer
# open links
bind o new-window "open `tmux show-buffer`"
# 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: #T "
set-window-option -g status-fg colour229 #253-244-193
set-window-option -g status-bg colour235 #40-40-40
set-window-option -g window-status-current-format " #I: #T "
set-window-option -g window-status-current-fg colour109 #131-165-152
set-option -g pane-active-border-fg colour109
set-option -g pane-border-fg colour229
set -g status-justify centre
set -g status-left '#H:#S'
set -g status-left-length 30
set -g status-right '%T'
set -g status-right-length 8