Skip to content

Instantly share code, notes, and snippets.

@jbott
Created May 22, 2019 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbott/e79344ab395e7160dd206a2175de039b to your computer and use it in GitHub Desktop.
Save jbott/e79344ab395e7160dd206a2175de039b to your computer and use it in GitHub Desktop.
TMUX
# Configure vim keybindings for switching panes
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Configure ctrl-vim keybindings for switching windows
bind C-h previous-window
bind C-l next-window
# Mauuuuuse
set -g mouse on
set-option -g status-interval 2
set-option -g automatic-rename on
set-option -g automatic-rename-format '#{b:pane_current_path}'
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
######################
#### DESIGN CHANGES ###
#######################
# loud or quiet?
set-option -g visual-activity off
set-option -g visual-bell off
set-option -g visual-silence off
set-window-option -g monitor-activity off
set-option -g bell-action none
# modes
setw -g clock-mode-colour colour5
setw -g mode-attr bold
setw -g mode-fg colour1
setw -g mode-bg colour7
# panes
set -g pane-border-bg colour0
set -g pane-border-fg colour15
set -g pane-active-border-bg colour0
set -g pane-active-border-fg colour8
# statusbar
set -g status-position bottom
set -g status-justify left
set -g status-bg colour233
set -g status-fg colour15
set -g status-attr dim
set -g status-left ''
set -g status-right '#[fg=colour233,bg=colour15,bold] %d/%m #[fg=colour233,bg=colour8,bold] %H:%M:%S '
set -g status-right-length 50
set -g status-left-length 20
setw -g window-status-current-fg colour1
setw -g window-status-current-bg colour15
setw -g window-status-current-attr bold
setw -g window-status-current-format ' #I#[fg=colour249]:#[fg=colour18]#W#[fg=colour57]#F '
setw -g window-status-fg colour8
setw -g window-status-bg colour7
setw -g window-status-attr none
setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour18]#W#[fg=colour57]#F '
setw -g window-status-bell-attr bold
setw -g window-status-bell-fg colour255
setw -g window-status-bell-bg colour1
# messages
set -g message-attr bold
set -g message-fg colour15
set -g message-bg colour16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment