.tmux.conf 884 Bytes
Newer Older
Jay Ta'ala's avatar
Jay Ta'ala committed
1
2
3
4
# Needed for using C-Left/Right for window switching with putty
set -g terminal-overrides "xterm*:kLFT5=\eOD:kRIT5=\eOC:kUP5=\eOA:kDN5=\eOB:smkx@:rmkx@"

# create (h)orizontal and (v)ertical panes without prefix
5
6
bind -n C-M-n split-window -h
bind -n C-M-m split-window -v
Jay Ta'ala's avatar
Jay Ta'ala committed
7
8

# Resize panes without prefix
9
10
11
12
bind -n C-M-Down resize-pane -D
bind -n C-M-Up resize-pane -U
bind -n C-M-Left resize-pane -L
bind -n C-M-Right resize-pane -R
Jay Ta'ala's avatar
Jay Ta'ala committed
13
14

# zoom into pane
15
bind -n C-M-f resize-pane -Z
Jay Ta'ala's avatar
Jay Ta'ala committed
16

17
# Use Alt-hjkl without prefix key to switch panes
18
19
20
21
bind -n C-M-h select-pane -L
bind -n C-M-l select-pane -R
bind -n C-M-k select-pane -U
bind -n C-M-j select-pane -D
Jay Ta'ala's avatar
Jay Ta'ala committed
22
23
24
25
26
27

# No delay for escape key press
set -sg escape-time 0

# THEME
set -g default-terminal "screen-256color"
28

Jay Ta'ala's avatar
Jay Ta'ala committed
29
30
31
# set inactive/active pane styles
set -g window-style 'fg=colour247,bg=colour236'
set -g window-active-style 'fg=colour250,bg=black'