###################### ### PLUGINS ### ###################### #set -g @plugin 'tmux-plugins/tmux-yank' # set new panes to open in current directory bind c new-window -c "#{pane_current_path}" # split panes using | and - bind | split-window -h -c "#{pane_current_path}" bind - split-window -v -c "#{pane_current_path}" unbind '"' unbind % # switch panes using Alt-arrow without prefix bind -n M-Left select-pane -L bind -n M-Right select-pane -R bind -n M-Up select-pane -U bind -n M-Down select-pane -D # don't rename windows automatically set-option -g allow-rename off # allow the mouse use in vim set -g mouse on ###################### ### DESIGN CHANGES ### ###################### # loud or quiet? set -g visual-activity off set -g visual-bell off set -g visual-silence off setw -g monitor-activity off set -g bell-action none # panes set -g pane-border-style 'fg=colour1' set -g pane-active-border-style 'fg=colour3' # statusbar set -g status-position bottom set -g status-justify centre set -g status-style 'fg=colour207 #{?client_prefix,bg=colour240,#bg=colour234}' set -g status-left " #[fg=colour207]#H #[fg=colour127,dim]#(uname -r)#[default]" set -g status-right '#[fg=colour207]%Y-%m-%d %H:%M ' set -g status-right-length 50 set -g status-left-length 100 setw -g window-status-current-style 'fg=colour0 bg=colour127,dim' setw -g window-status-current-format ' #I #W #F ' setw -g window-status-style 'fg=colour207 dim' setw -g window-status-format ' #I #[fg=colour7]#W #[fg=colour207]#F ' setw -g window-status-bell-style 'fg=colour207 bg=colour1 bold' # messages set -g message-style 'fg=colour207 bg=colour0 bold' setw -g mode-keys vi bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -sel clip -i' bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel 'xclip -sel clip -i' # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) run '~/.tmux/plugins/tpm/tpm'