Files
dotfiles/.tmux.conf
2022-08-16 11:54:26 -07:00

60 lines
1.2 KiB
Bash

#configure mouse
set-option -g mouse on
set -g mode-keys vi
set -g history-limit 10000
set -sg escape-time 10
# configure TERM
set -g default-terminal 'xterm-kitty'
set -as terminal-overrides ',xterm*:Tc:sitm=\E[3m'
# y and p
bind Escape copy-mode
unbind p
bind p paste-buffer
# open links
bind o new-window "open `tmux show-buffer`"
# use system clipboard
set -g set-clipboard on
# 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 "
set-window-option -g status-style fg=colour11,bg=colour15
set-window-option -g window-status-current-format " #I "
set-window-option -g window-status-current-style fg=colour1
set-option -g pane-active-border-style fg=colour1
set-option -g pane-border-style fg=colour8
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