Skip to content

Instantly share code, notes, and snippets.

@fersingb
Created August 25, 2015 21:34
Show Gist options
  • Save fersingb/da9ccc29d22c052e4e6c to your computer and use it in GitHub Desktop.
Save fersingb/da9ccc29d22c052e4e6c to your computer and use it in GitHub Desktop.
set-window-option -g mode-keys vi
# remap prefix to Control + a
#set -g prefix C-a
#unbind C-b
#bind C-a send-prefix
# force a reload of the config file
unbind r
bind r source-file ~/.tmux.conf \; display-message "Config reloaded..."
# quick pane cycling
unbind ^A
bind ^A select-pane -t :.+
unbind ^d
bind ^d detach-client
# Set the terminal title
set -g set-titles on
set -g set-titles-string "tmux[#h] #S > #W"
# Aspect (Status bar, etc.)
set-window-option -g utf8 on
set -g default-terminal screen-256color
set -g status-bg black
set -g status-fg white
set -g status-interval 1
set-option -g pane-active-border-fg green
set-option -g pane-active-border-bg black
set-option -g pane-border-fg white
set-option -g pane-border-bg black
set-window-option -g window-status-fg yellow
set-window-option -g window-status-bg black
set-window-option -g window-status-attr dim
set-window-option -g window-status-current-fg red
set-window-option -g window-status-current-bg default
set-window-option -g window-status-current-attr bright
set -g status-left '#[fg=green][ #h#[fg=red]:#[fg=white]#S #[fg=green]][#[default]'
set -g status-right "#[default,fg=white,bg=black]#[fg=green][ #[fg=blue,bg=black,bright]%d/%m #[default]%H:%M:%S#[default]#[fg=green] ]"
set -g status-left-length 30
set -g status-right-length 50
set -g mouse-resize-pane off
set -g mouse-select-pane off
set -g mouse-select-window off
set -g mouse-utf8 off
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment