set -g default-terminal "xterm-256color" set -sg terminal-overrides ",*:RGB" set -g display-panes-time 5000 set -s set-clipboard off set -g history-limit 10000 # Set vi key binding, and add the standard v and y setw -g mode-keys vi bind v copy-mode bind -T copy-mode-vi v send-keys -X begin-selection bind -T copy-mode-vi y send -X copy-pipe-and-cancel 'xclip -i -selection clipboard' # Unbind enter to copy, use y like normal people unbind -T copy-mode-vi Enter bind '"' split-window -c "#{pane_current_path}" bind % split-window -h -c "#{pane_current_path}" bind C new-window -c "#{pane_current_path}" bind r source-file ~/.tmux.conf # Vim keys for navigation between panes bind h select-pane -L bind j select-pane -D bind k select-pane -U bind l select-pane -R bind -r C-h resize-pane -L 1 bind -r C-j resize-pane -D 1 bind -r C-k resize-pane -U 1 bind -r C-l resize-pane -R 1 # Styling set-option -g status-bg black set-option -g status-fg white set-option -g mode-style "bg=blue, fg=black" set-option -g message-style "bg=blue, fg=black" set-option -g message-command-style "bg=blue, fg=black" set-option -g pane-active-border-style fg=grey set-option -g pane-border-style fg=grey set-option -g pane-active-border-style fg=white set-option -g window-status-separator "#[fg=grey] | " # Left components set-option -g status-left-length 20 # set-option -g status-left "#[bg=black, fg=grey] #(hostname -s):#{session_name}  " set-option -g status-left "#[bg=black] " # Right components set-option -g status-right-length 50 set-option -g status-right "#[fg=grey] %Y-%m-%d %H:%M " #set-option -g status-right "\ ##[fg=grey] \ # #(ip -4 -o address show dev wlp3s0 | awk '{print $4}') \ # %Y-%m-%d %H:%M " # Window list style set-window-option -g window-status-format "#[fg=grey]#I: #W" set-window-option -g window-status-current-format "#[fg=blue]#I: #W" set-window-option -g window-status-activity-style "bg=black, fg=grey, italics" set-window-option -g window-status-bell-style "bg=black, fg=grey, italics"