Skip to content

Instantly share code, notes, and snippets.

@adinapoli
Created July 1, 2012 15:12
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save adinapoli/3028721 to your computer and use it in GitHub Desktop.
My tmux.conf
set -g prefix C-a
bind C-a send-prefix
unbind C-b
set -sg escape-time 1
set -g base-index 1
setw -g pane-base-index 1
bind r source-file ~/.tmux.conf \; display "Reloaded!"
bind | split-window -h
bind - split-window -v
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind -r C-h select-window -t :-
bind -r C-l select-window -t :+
bind -r H resize-pane -L 5
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r L resize-pane -R 5
setw -g mode-mouse off
set -g mouse-select-pane off
set -g mouse-resize-pane off
set -g mouse-select-window off
set -g default-terminal "screen-256color"
set -g status-fg white
set -g status-bg black
set -g pane-border-fg green
set -g pane-border-bg black
set -g pane-active-border-fg white
set -g pane-active-border-bg yellow
set -g message-fg white
set -g message-bg black
set -g message-attr bright
set -g status-left-length 40
#Sets the appearance of the left sidebar
set -g status-left "#[fg=colour39]❐ #S #[fg=yellow]✓ #(whoami)"
#Sets the appearance of the center
setw -g window-status-fg colour238
setw -g window-status-bg default
setw -g window-status-attr dim
setw -g window-status-current-fg white
setw -g window-status-current-bg green
setw -g window-status-current-attr bright
setw -g window-status-activity-bg red
setw -g window-status-activity-fg white
setw -g window-status-bell-fg white
setw -g window-status-bell-bg red
setw -g window-status-bell-attr bold
#Sets the appearance of the right sidebar, i.e time and clock.
set -g status-right "#[fg=colour136, brigth]ℹ %d %b %R"
set -g status-utf8 on
set -g status-interval 60
set -g status-justify centre
setw -g monitor-activity on
set -g visual-activity on
setw -g mode-keys vi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment