Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (26 sloc) 722 Bytes
# set Ctrl-a to prefix instead of Ctrl-b
# (just like screen)
set -g prefix C-a
unbind C-b
bind C-a send-prefix
# allow Ctrl-a Ctrl-a to cycle panes
unbind ^A
bind ^A select-pane -t :.+
# start at 1 instead of 0 (easier to reach)
set -g base-index 1
# start panes at 1 too
setw -g pane-base-index 1
# r reloads tmux.conf
bind r source-file ~/.tmux.conf \; display "Reloaded!"
# extra commands for splitting
bind | split-window -h
bind - split-window -v
# Pane resizing
bind -r H resize-pane -L 10
bind -r J resize-pane -D 10
bind -r K resize-pane -U 10
bind -r L resize-pane -R 10
# turn on mouse (recommended only for beginners)
set -g mouse-select-pane on
set -g mouse-resize-pane on
set -g mouse-select-window on