Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
50 lines (35 sloc) 931 Bytes
# use C-a as prefix, like screen does
set -g prefix C-a
unbind C-b
# press C-a twice to send to current program
bind C-a send-prefix
# shorten delay time so vim is happy
set -s escape-time 1
# start counting from 1
set -g base-index 1
set -g pane-base-index 1
# Reload key
bind r source-file ~/.tmux.conf \; display "Reloaded!"
# easy-to-remember window splitting
bind | split-window -h
bind - split-window -v
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind -r C-h select-window -t :-
bind -r C-l select-window -t :+
# resizing panes
bind -r H resize-pane -L 5
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r L resize-pane -R 5
# mouse support
setw -g mode-mouse on
set -g mouse-select-pane on
set -g mouse-resize-pane on
# terminal support
set -g default-terminal "screen-256color"
set -g status off
setw -g monitor-activity on
set -g visual-activity on
Something went wrong with that request. Please try again.