# Status Bar Appearance customization #set -g status-bg black #set -g status-fg white set -g status-bg green set -g window-status-current-bg blue # show that activity happens but don't display a huge 'activity happening' notification setw -g monitor-activity on set -g visual-activity off # Start counting windows and panes at 1 set -g base-index 1 setw -g pane-base-index 1 # Custom modifier key set -g prefix C-a unbind-key C-b bind-key C-a send-prefix # Terminal improvements set -g terminal-overrides "xterm*:XT:smcup@:rmcup@" set-window-option -g automatic-rename on set -g renumber-windows on set-option -g set-titles on set -g mouse on set -g default-terminal screen-256color set -g status-keys vi set -g history-limit 10000 # Clear scrollback buffer bind l clear-history # Custom key bindings to split the window # split it using modifier key + v or s #bind-key h split-window -h #bind-key v split-window -v # split it w/o modifier key using - or _ #bind - split-window -v #bind _ split-window -h # No delay for escape key press set -sg escape-time 0 # WINDOW SWITCHING # Easier window navigation bind -n C-Tab next-window bind -n C-S-Tab previous-window #bind -n C-S-Left previous-window #bind -n C-S-Right next-window # Copy to cygwin clipboard bind -n C-t run "tmux save-buffer - > /dev/clipboard" # PANE & WINDOW DESTRUCTION # Kill tabs quicker bind-key x kill-pane bind-key C-x kill-window # Plugins -- TO INITALLY SET UP THE PLUGINS PRESS bind-key I (that is shift i) # -- a message will appear after a second saying succes #run-shell ~/.tmux-plugins/resurrect/resurrect.tmux set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'tmux-plugins/tmux-pain-control' set -g @plugin 'tmux-plugins/tmux-yank' set -g @plugin 'tmux-plugins/tmux-prefix-highlight' set -g @plugin 'Morantron/tmux-fingers' run -b "${TMUX_PLUGIN_MANAGER_PATH}/tpm/tpm" ## Begin theming > theme from github.com/jimeh/tmux-themepack, the powerline/default/blue theme. ## It is integrated with prefix highlight for this tmux conf # Status update interval set -g status-interval 1 # Basic status bar colors set -g status-fg colour238 set -g status-bg colour233 # Left side of status bar set -g status-left-bg colour233 set -g status-left-fg colour243 set -g status-left-length 40 set -g status-left "#[fg=colour232,bg=colour24,bold] #S #[fg=colour24,bg=colour240,nobold]#[fg=colour233,bg=colour240] #(whoami) #[fg=colour240,bg=colour235]#[fg=colour240,bg=colour235] #I:#P #[fg=colour235,bg=colour233,nobold]" # Right side of status bar set -g status-right-bg colour233 set -g status-right-fg colour243 set -g status-right-length 150 set -g status-right "#{prefix_highlight} #[fg=colour235,bg=colour233]#[fg=colour240,bg=colour235] %H:%M:%S #[fg=colour240,bg=colour235]#[fg=colour233,bg=colour240] %d-%b-%y #[fg=colour245,bg=colour240]#[fg=colour232,bg=colour245,bold] #H " # Sets both Prefix mode and Copy mode to be highlighted in the status bar. set -g @prefix_highlight_show_copy_mode 'on' set -g @prefix_highlight_copy_mode_attr 'fg=black,bg=yellow,bold' # default is 'fg=default,bg=yellow' set -g @prefix_highlight_prefix_prompt 'Command' set -g @prefix_highlight_copy_prompt 'Copy' # Window status set -g window-status-format " #I:#W#F " set -g window-status-current-format "#[fg=colour233,bg=black]#[fg=colour33,nobold] #I:#W#F #[fg=colour233,bg=black,nobold]" # Current window status set -g window-status-current-bg colour100 set -g window-status-current-fg colour235 # Window with activity status set -g window-status-activity-bg colour245 # fg and bg are flipped here due to set -g window-status-activity-fg colour233 # a bug in tmux # Window separator set -g window-status-separator "" # Window status alignment set -g status-justify centre # Pane border set -g pane-border-bg default set -g pane-border-fg colour238 # Active pane border set -g pane-active-border-bg default set -g pane-active-border-fg colour24 # Pane number indicator set -g display-panes-colour colour233 set -g display-panes-active-colour colour245 # Clock mode set -g clock-mode-colour colour24 set -g clock-mode-style 24 # Message set -g message-bg colour24 set -g message-fg black # Command message set -g message-command-bg colour233 set -g message-command-fg black # Mode set -g mode-bg colour24 set -g mode-fg colour231