-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.tmux.conf
80 lines (56 loc) · 2.14 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
unbind r
bind r source-file ~/.tmux.conf \; display "Reloaded!" # Reload with ctrl-r
set -g prefix C-a # prefix from ctrl-b to ctrl-a
unbind C-b # allow ctrl-b for other things
set -sg escape-time 1 # quicker responses
bind C-a send-prefix # Pass on ctrl-a for other apps
set -g base-index 1 # Numbering of windows
setw -g pane-base-index 1 # Numbering of Panes
# Better splits
bind \\ split-window -h -c "#{pane_current_path}"
bind - split-window -v -c "#{pane_current_path}"
unbind '"'
unbind %
# Mouse keys for pane switching
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
setw -g monitor-activity on
# Enable Mousing Around for convenience
set -g visual-activity on
set -g mouse on
# Bells are annoying
setw -g monitor-activity on
set-option -g bell-action none
# Pass through zsh/bash and force 256 colors
set-option -g default-shell $SHELL
set -g default-terminal "xterm-256color"
set-option -ga terminal-overrides ",xterm-256color:Tc"
#set-option -g status-position top
# Automatically re-number windows when others are closed.
set-option -g renumber-windows on
#### COLOUR (Solarized dark)
# default statusbar colors
set-option -g status-bg black #base02
set-option -g status-fg yellow #yellow
set-option -g status-style default
# default window title colors
set-window-option -g window-status-style fg=brightblue,bg=default
#set-window-option -g window-status-attr dim
# new activity window title colors
set-window-option -g window-status-activity-style fg=green,bg=default,none
# active window title colors
set-window-option -g window-status-current-style fg=brightred,bg=default,none
# 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 #blue
set-option -g display-panes-colour brightred #orange
# clock
set-window-option -g clock-mode-colour green #green
# OS Specific configuration
if-shell 'test "$(uname)" = "Darwin"' 'source ~/.config/os/osx/tmux.conf' 'source ~/.config/os/ubuntu/tmux.conf'