Skip to content

Instantly share code, notes, and snippets.

@crdueck
Created August 27, 2013 02:22
Show Gist options
  • Save crdueck/6348988 to your computer and use it in GitHub Desktop.
Save crdueck/6348988 to your computer and use it in GitHub Desktop.
tmux.conf
## KEYBINDS
set -g prefix C-a
unbind C-b
set -g status-keys vi
setw -g mode-keys vi
unbind l
unbind s
unbind w
unbind v
bind F12 source-file $HOME/.tmux.conf
bind m choose-window
bind b set status
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind C-h resize-pane -L 20
bind C-j resize-pane -D 20
bind C-k resize-pane -U 20
bind C-l resize-pane -R 20
bind -n C-left swap-window -t -1
bind -n C-right swap-window -t +1
bind v split-window -h
bind s split-window
## MISC
set -g default-shell /bin/zsh
set -g default-command /bin/zsh
set -g set-titles on
set -g set-remain-on-exit off
set -g mode-mouse on
set-window-option -g automatic-rename on
## STATUS & MESSAGE
set -g message-attr bold
set -g message-fg white
set -g message-bg black
set -g status-justify right
set -g status-bg colour233
set -g status-fg white
set -g status-interval 5
set -g status-utf8 on
set-option -g pane-border-fg colour240 #base02
set-option -g pane-active-border-fg colour240 #base01
setw -g window-status-current-fg red
setw -g window-status-current-attr none
setw -g window-status-format '#[fg=white]#W#F'
setw -g window-status-current-format '#[fg=red] #W#F '
set -g status-left '#[fg=magenta] tmux#[fg=yellow]#H #[fg=white,bold]:: #[fg=cyan]#T'
set -g status-left-length 40
set -g status-left-fg black
set -g status-right '#[fg=cyan,bold]| %l:%M'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment