forked from ryanb/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 89
/
tmux.conf
66 lines (49 loc) · 1.3 KB
/
tmux.conf
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
###########################
# Configuration
###########################
# use 256 term for pretty colors
set -g default-terminal "screen-256color"
set -g default-shell $SHELL
# increase scroll-back history
set -g history-limit 5000
# use vim key bindings
setw -g mode-keys vi
# decrease command delay (increases vim responsiveness)
set -sg escape-time 1
# increase repeat time for repeatable commands
set -g repeat-time 1000
# re-number windows when one is closed
set -g renumber-windows on
###########################
# Key Bindings
###########################
# tmux prefix
unbind C-b
set -g prefix C-a
# resize 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
# force a reload of the config kile
unbind r
bind r source-file ~/.tmux.conf \; display "Reloaded!"
# Enable screen-like C-a C-a moving to last window
bind-key C-a last-window
# Go to beginning of line
bind a send-prefix
###########################
# Status Bar
###########################
# set refresh interval for status bar
set -g status-interval 30
# center the status bar
set -g status-justify left
# No right side status bar
set -g status-right ''
###########################
# Colors
###########################
# color status bar
set -g status-bg colour235
set -g status-fg white