Skip to content

Instantly share code, notes, and snippets.

@feulf
Created January 13, 2014 21:27
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save feulf/8408501 to your computer and use it in GitHub Desktop.
Save feulf/8408501 to your computer and use it in GitHub Desktop.
tmux configuration
# Mouse support
setw -g mode-mouse on
set-option -g mouse-select-pane on
set-option -g mouse-select-window on
set -g mouse-resize-pane on
set -g mouse-select-window on
# tmux vi mode
setw -g mode-keys vi
# enable pbcopy pbpaste
set-option -g default-command "reattach-to-user-namespace -l bash"
# Status bar
set-option -g status-utf8 on
set -g status-bg black
set -g status-fg green
set -g status-left-length 15
set -g status-left ' #[fg=cyan,bright]#10H#[fg=green]:#[fg=white]#S#[fg=green] | #[default]'
set -g status-right '| #[fg=yellow]%y-%m-%d %H:%M '
set -g status-justify centre
# Set history limit
set -g history-limit 100000
# Split window
bind-key | split-window -h
bind-key _ split-window -v
# fix win resize issue
setw -g aggressive-resize on
# Allows for faster key repetition
set -s escape-time 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment