Skip to content

Instantly share code, notes, and snippets.

@ftrain
Created January 15, 2014 20:18
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ftrain/8443744 to your computer and use it in GitHub Desktop.
Save ftrain/8443744 to your computer and use it in GitHub Desktop.
A tmux that respects mouse events.
set -g mode-mouse on
set -g mouse-resize-pane on
set -g mouse-select-pane on
set -g mouse-select-window on
set -g base-index 1
setw -g aggressive-resize on
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
# MOAR COLORS
set -g default-terminal "screen-256color"
# Turn on the extra keys we now support.
set-window-option -g xterm-keys on
# big big history
set-option -g history-limit 10000
# kill the bell
set-option bell-action none
bind -t emacs-copy C-z scroll-down
bind -t emacs-copy M-z scroll-up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment