Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 40 lines (31 sloc) 0.911 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
# Better prefix setting
set-option -g prefix C-a

# Screen habits: toggling, killing
bind-key C-a last-window
bind a send-prefix
bind k confirm kill-window

# Start indexing at 1
set -g base-index 1

# use vim motion keys while in copy mode
setw -g mode-keys vi

# Vim-like pane navigation
bind-key k select-pane -U
bind-key j select-pane -D
bind-key l select-pane -R
bind-key h select-pane -L

# use "v" and "s" to do vertical/horizontal splits, like vim
bind s split-window -v
bind v split-window -h

# Allows for faster key repetition
set -s escape-time 0

# Shortcuts for terminal splits
bind-key | split-window -h
bind-key - split-window -v

# More visible active window
set-window-option -g window-status-current-bg red
set-window-option -g aggressive-resize on

# Mouse mode configs
set-window-option -g mode-mouse on
set -g mouse-select-pane on
set -g mouse-select-window on
set -g mouse-resize-pane on
Something went wrong with that request. Please try again.