Skip to content

Instantly share code, notes, and snippets.

@cherian
Created June 1, 2012 00:24
Show Gist options
  • Save cherian/2847489 to your computer and use it in GitHub Desktop.
Save cherian/2847489 to your computer and use it in GitHub Desktop.
Tmux config
set-option -g prefix `
set-option -g pane-active-border-fg green
set-option -g pane-active-border-bg yellow
#set-option -g pane-border-fg white
set-option -g pane-border-bg black
unbind %
bind-key s split-window
bind-key v split-window -h
bind-key -r > resize-pane -R
bind-key -r < resize-pane -L
bind-key -r + resize-pane -U
bind-key -r - resize-pane -D
# vi-style controls for copy mode
setw -g mode-keys vi
#################### Copied
set -g status-bg colour234
#set -g window-status-activity-attr bold
set -g pane-border-fg colour245
set -g message-fg colour16
set -g message-bg colour221
set -g message-attr bold
# Custom status bar
# Powerline symbols: . . . . .
set -g status-left-length 32
set -g status-right-length 150
set -g status-interval 5
# set -g status-left '#[fg=colour16,bg=colour254,bold] #S #[fg=colour254,bg=colour238,nobold].#[fg=colour15,bg=colour238,bold] #(ls ~/.mail/[email protected]/INBOX/cur ~/.mail/[email protected]/INBOX/new | wc -l | tr -d " ") #[fg=colour238,bg=colour234,nobold].'
set -g status-right '#[fg=colour245]. %R . %d %b #[fg=colour254,bg=colour234,nobold]#(rdio-current-track-tmux).#[fg=colour16,bg=colour254,bold] #h '
set -g window-status-format "#[fg=white,bg=colour234] #I #W "
set -g window-status-current-format "#[fg=colour234,bg=colour39].#[fg=colour16,bg=colour39,noreverse,bold] #I . #W #[fg=colour39,bg=colour234,nobold]."
set -g default-terminal "screen-256color"
# Activity
setw -g monitor-activity on
set -g visual-activity off
# Mouse stuff
#setw -g mode-mouse on
#setw -g mouse-select-window on
#setw -g mouse-select-pane on
#setw -g mouse-resize-pane on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment