Skip to content

Instantly share code, notes, and snippets.

@segfault
Created September 25, 2015 00:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save segfault/39c25520711ef918b684 to your computer and use it in GitHub Desktop.
Save segfault/39c25520711ef918b684 to your computer and use it in GitHub Desktop.
setw -g xterm-keys on
set -g prefix C-a
set -g status-keys vi
setw -g mode-keys vi
set -g display-time 3000
set -g status-bg colour33
set -g status-fg cyan
set -g status-attr default
setw -g window-status-current-bg cyan
setw -g window-status-current-fg black
set -g status-justify left
setw -g utf8 on
setw -g window-status-format "#[fg=white,bg=colour33]#I:#20W⮁ "
setw -g window-status-current-format "#[fg=colour33,bg=colour37]⮀#[fg=colour255,bg=colour37, bright]#I:#20W#[fg=colour37,bg=colour33]⮀#[default]"
set -g status-left '#[fg=white, bg=colour148,bright]#H#[fg=colour148,bg=colour33]⮀#[default]'
set -g status-right '#[fg=colour235]⮂#[fg=white,bg=colour235]%m/%d %H:%M#[default]'
set -g status-utf8 on
set -g status on
#set -g status off
set -g history-limit 5000
set -g set-titles on
#set -g set-titles-string "tmux.#I.#W"
set -g set-titles-string "#T"
set -g default-terminal "screen-256color"
setw -g aggressive-resize on
setw -g automatic-rename on
# use the authsock symlink created by ~/.ssh/rc, so agent forwarding works even on re-attaching
# set-environment -g 'SSH_AUTH_SOCK' ~/.ssh/ssh_auth_sock
bind S-left swap-window -t -1
bind S-right swap-window -t +1
# Allows us to use C-a a <command> to send commands to a TMUX session inside
# # another TMUX session
bind-key a send-prefix
bind-key C-a last-window
bind r source-file ~/.tmux.conf \; display "Reloaded ~/.tmux.conf"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment