|
|
@ -25,6 +25,23 @@ bind-key -T copy-mode-vi 'V' send -X select-line
|
|
|
|
bind-key -T copy-mode-vi 'r' send -X rectangle-toggle
|
|
|
|
bind-key -T copy-mode-vi 'r' send -X rectangle-toggle
|
|
|
|
bind-key -T copy-mode-vi 'y' send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"
|
|
|
|
bind-key -T copy-mode-vi 'y' send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# colors
|
|
|
|
|
|
|
|
set -g pane-active-border-fg brightred
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# statusline (shamelessly stolen from powerline)
|
|
|
|
|
|
|
|
set-option -g status-interval 2
|
|
|
|
|
|
|
|
set-option -g status-left "#{?client_prefix,#[fg=colour254]#[bg=colour31]#[bold]#[noitalics]#[nounderscore],#[fg=colour16]#[bg=colour254]#[bold]#[noitalics]#[nounderscore]} #S #{?client_prefix,#[fg=colour31],#[fg=colour254]}#[bg=colour235]#[nobold] "
|
|
|
|
|
|
|
|
set-option -g status-left-length 20
|
|
|
|
|
|
|
|
set-option -g status-right ""
|
|
|
|
|
|
|
|
set-option -g status-style fg=colour231,bg=colour235
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set-option -g window-status-activity-style fg=colour11,bg=colour235
|
|
|
|
|
|
|
|
set-option -g window-status-bell-style fg=colour1,bg=colour235
|
|
|
|
|
|
|
|
set-option -g window-status-current-format "#[fg=colour235,bg=colour31,nobold,noitalics,nounderscore] #[fg=colour117,bg=colour31,nobold,noitalics,nounderscore]#I#F#[fg=colour231,bg=colour31,bold,noitalics,nounderscore] #W #[fg=colour31,bg=colour235,nobold,noitalics,nounderscore]"
|
|
|
|
|
|
|
|
set-option -g window-status-format "#[fg=colour244,bg=colour235,nobold,noitalics,nounderscore] #I#{?window_flags,#F, } #[fg=colour240,bg=colour235,nobold,noitalics,nounderscore]#[default]#W "
|
|
|
|
|
|
|
|
set-option -g window-status-last-style fg=colour31,bg=colour235
|
|
|
|
|
|
|
|
set-option -g window-status-style fg=colour249,bg=colour235
|
|
|
|
|
|
|
|
|
|
|
|
## etc
|
|
|
|
## etc
|
|
|
|
set-window-option -g mode-keys vi
|
|
|
|
set-window-option -g mode-keys vi
|
|
|
|
set-option -sg escape-time 1 # increase vim responsiveness
|
|
|
|
set-option -sg escape-time 1 # increase vim responsiveness
|
|
|
@ -71,6 +88,4 @@ bind -r = resize-pane -U 3
|
|
|
|
unbind r
|
|
|
|
unbind r
|
|
|
|
bind r source-file ~/.tmux.conf \; display 'Reloaded tmux.conf'
|
|
|
|
bind r source-file ~/.tmux.conf \; display 'Reloaded tmux.conf'
|
|
|
|
|
|
|
|
|
|
|
|
source-file ~/.dotfiles/src/powerline/powerline/bindings/tmux/powerline.conf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if-shell "[[ -e ~/.tmux.conf.local ]]" "source-file ~/.tmux.conf.local"
|
|
|
|
if-shell "[[ -e ~/.tmux.conf.local ]]" "source-file ~/.tmux.conf.local"
|
|
|
|