-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtmux.conf
66 lines (51 loc) · 1.85 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
# main options
# -----------------------------------------------
set-option -g status-bg black
set-option -g status-fg white
set-option -g status-left '#[fg=default]#[fg=default,bold]'
set-option -g status-right '#[fg=yellow,bold]#(date) '
set-option -g bell-action any
set-option -g display-time 2000
set-option -g base-index 0
set-option -g renumber-windows on
set-option -g history-limit 1000000
set-option -g default-command "fish"
set-option -g status-interval 1
set-option -g pane-border-style fg=white
set-option -g pane-active-border-style fg=yellow
# notification options
# -----------------------------------------------
set -g visual-activity on
setw -g monitor-activity on
# window options
# -----------------------------------------------
set-window-option -g window-status-current-style bg=yellow,fg=black,bold
set-window-option -g window-status-format '#I:#W'
set-window-option -g window-status-current-format '#I:#W'
set-window-option -g window-status-activity-style fg=white,bold,bg=magenta
# Mouse mode DID suck, and now it's not even available in brew's tmux
# set-window-option -g mode-mouse off
# set-window-option -g mouse-resize-pane off
# set-window-option -g mouse-select-pane off
# set-window-option -g mouse-select-window off
set-window-option -g mode-keys vi
set-window-option -g automatic-rename on
set-window-option -g pane-base-index 0
# main keys
# -----------------------------------------------
bind c neww -c "#{pane_current_path}"
unbind C-b
unbind C-a
set-option -g prefix C-a
bind a send-prefix
bind r source-file $HOME/.tmux.conf
unbind q
bind q confirm-before "kill-pane"
unbind w
bind w confirm-before "kill-window"
bind-key | split-window -h -c "#{pane_current_path}"
bind-key - split-window -v -c "#{pane_current_path}"
bind-key Up select-pane -U
bind-key Down select-pane -D
bind-key Left select-pane -L
bind-key Right select-pane -R