Skip to content

Instantly share code, notes, and snippets.

@madbence
Created July 21, 2013 21:40
Show Gist options
  • Select an option

  • Save madbence/6050098 to your computer and use it in GitHub Desktop.

Select an option

Save madbence/6050098 to your computer and use it in GitHub Desktop.
My current .tmux.conf file
# screen-like prefix
unbind C-b
set -g prefix C-a
# Indexing from 1 instead of 0
set -g base-index 1
set -g pane-base-index 1
# Reload config
bind r source-file ~/.tmux.conf \; display "Reloaded tmux config file."
set -g status-utf8 on
set -g status-bg colour235
# Fancy tmux :3
set -g default-terminal "screen-256color"
setw -g monitor-activity on
set -g visual-activity on
setw -g automatic-rename on
set -g repeat-time 0
# Some insane key binding
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
set-option -g status on
set-option -g status-interval 2
set-option -g status-utf8 on
set-option -g status-justify "centre"
set-option -g status-left-length 60
set-option -g status-right-length 90
set-option -g status-left "#(~/tmux-powerline/powerline.sh left)"
set-option -g status-right "#(~/tmux-powerline/powerline.sh right)"
set-window-option -g window-status-current-format "#[fg=colour235, bg=colour27]⮀#[fg=colour255, bg=colour27] #I ⮁ #W #[fg=colour27, bg=colour235]⮀"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment