Skip to content

Instantly share code, notes, and snippets.

@csfrancis
Created May 23, 2013 19:35

Revisions

  1. csfrancis created this gist May 23, 2013.
    55 changes: 55 additions & 0 deletions tmux.conf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,55 @@
    unbind C-b
    set -g prefix C-a
    bind a send-prefix

    unbind ^C
    bind ^C new-window
    bind c new-window

    unbind ^a
    bind C-a last-window
    bind a last-window

    unbind %
    bind | split-window -h
    bind - split-window -v

    unbind ^D
    bind ^D detach
    bind d detach

    set -g history-limit 16384
    setw -g mode-keys vi

    set -g set-titles on
    set -g set-titles-string '[#S:#I #h] #W'

    set -g status-interval 2
    set -g status-left '#(date +"%H:%M ")'
    set -g status-right '#(uptime | sed "s/,/\\n/g" | grep users) |#(uptime | cut -d"," -f3- | cut -d":" -f2-) | #(~/.tmux/ifstat_sys.sh)'
    set -g status-right-length 60
    set -g status-position top

    # Colours
    set -g status-bg colour235 #base02
    set -g status-fg colour102
    set -g status-attr default

    setw -g window-status-fg colour244
    setw -g window-status-bg default

    setw -g window-status-current-fg colour152
    setw -g window-status-current-bg default

    set -g pane-border-fg colour235
    set -g pane-active-border-fg colour240

    set -g message-bg colour235
    set -g message-fg colour152

    set -g display-panes-active-colour colour33
    set -g display-panes-colour colour152

    setw -g mode-bg colour152

    setw -g clock-mode-colour colour152