-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
58 lines (43 loc) · 1.22 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
# prefix
set -g prefix C-a
# unbind default prefix
unbind C-b
# delay
set -sg escape-time 1
# index start 1
set -g base-index 1
setw -g pane-base-index 1
# reload
bind r source-file ~/.tmux.conf \; display "Reloaded!"
# split
bind | split-window -h
bind - split-window -v
bind c new-window -c '#{pane_current_path}'
bind '"' split-window -c '#{pane_current_path}'
bind % split-window -h -c '#{pane_current_path}'
# like vim key
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# enable mouse
setw -g mouse on
# use 256 color
set -g default-terminal "screen-256color"
# default statusbar colors
set-option -g status-bg black
set-option -g status-fg yellow
# default window title colors
setw -g window-status-style "fg=brightblue, bg=default"
# active window title colors
set-window-option -g window-status-current-style "fg=brightred, bg=default"
# pane border
set-option -g pane-border-style "fg=black"
set-option -g pane-active-border-style "fg=brightgreen"
# message text
set-option -g message-style "bg=black, fg=brightred"
# pane number display
set-option -g display-panes-active-colour blue
set-option -g display-panes-colour brightred
# clock
set-window-option -g clock-mode-colour green