-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
63 lines (46 loc) · 1.7 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
#### Set History size
set -g history-limit 15000
#### Key Bindings
# bind -n = no prefix needed
# bind-key = used with prefix
bind r source ~/.tmux.conf \; display "~/.tmux.conf sourced!"
# change prefix
# set-option -g prefix C-a
# unbind-key C-b
# bind-key C-a send-prefix
# use Alt+arrow keys to move around panes
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
# use Shift+arrow to move around windows
bind -n S-Left previous-window
bind -n S-Right next-window
# add easier split-window keys
bind-key v split-window -h # tmux view of orientation is opposite
bind-key h split-window -v
#### Set additional options
# start counting windows/panes at 1 rather than 0
set -g base-index 1
setw -g pane-base-index 1
#### COLOUR (Solarized dark)
# default statusbar colors
set-option -g status-style fg=yellow,bg=black #yellow and base02
# default window title colors
set-window-option -g window-status-style fg=brightblue,bg=default #base0 and default
#set-window-option -g window-status-style dim
# active window title colors
set-window-option -g window-status-current-style fg=brightred,bg=default #orange and default
#set-window-option -g window-status-current-style bright
# pane border
set-option -g pane-border-style fg=black #base02
set-option -g pane-active-border-style fg=brightgreen #base01
# message text
set-option -g message-style fg=brightred,bg=black #orange and base01
# pane number display
set-option -g display-panes-active-colour blue #blue
set-option -g display-panes-colour brightred #orange
# clock
set-window-option -g clock-mode-colour green #green
# bell
set-window-option -g window-status-bell-style fg=black,bg=red #base02, red