Skip to content

Instantly share code, notes, and snippets.

@zinovyev
Last active August 29, 2015 14:09
Show Gist options
  • Save zinovyev/0d4ecf9145db19edf0ad to your computer and use it in GitHub Desktop.
Save zinovyev/0d4ecf9145db19edf0ad to your computer and use it in GitHub Desktop.
.tmux.conf
# Key bindings
unbind C-b
set -g prefix C-a
bind C-a send-prefix
# Set scrollback to 10000
set -g history-limit 10000
# Pane switching with Alt+arrow
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
# Pane Switching Using Mouse
setw -g mode-mouse on
set-option -g mouse-select-window on
set-option -g mouse-select-pane on
#set -ga terminal-overrides 'xterm*:smcup@:rmcup@'
set -ga terminal-overrides "$TERM*:smcup@:rmcup@"
# Highlighting Current Window Using Specified Colour
set-window-option -g window-status-current-bg yellow
# Activity Monitoring
setw -g monitor-activity on
set -g visual-activity on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment