This repository has been archived by the owner on Aug 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
75 lines (56 loc) · 2.04 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
# terminal settings
TERM="xterm-256color"
set -g default-terminal $TERM
set -g update-environment 'TERM'
set-window-option -g xterm-keys on
bind-key -n Home send Escape "OH"
bind-key -n End send Escape "OF"
# Start numbering at 1
set -g base-index 1
set -g pane-base-index 1
# Scroll History
set -g history-limit 10000
# Lower escape timing for quicker response to scroll-buffer access
set -s escape-time 50
# Enable mouse mode
set -g mouse on
###############
# Key Bindings
###############
# reload config file
bind-key r source-file ~/.tmux.conf \; display ".tmux.conf reloaded!"
# switch panes using Alt-arrow without prefix
bind-key -n M-Left select-pane -L
bind-key -n M-Right select-pane -R
bind-key -n M-Up select-pane -U
bind-key -n M-Down select-pane -D
# switch windows using Alt-PageUp/Down without prefix
bind-key -n M-PageUp select-window -n
bind-key -n M-PageDown select-window -p
# set inactive/active window styles
set -g window-style 'fg=colour245'
set -g window-active-style 'fg=colour255'
#########################
# COLOUR (Solarized 256)
# https://github.com/seebi/tmux-colors-solarized
#########################
# default statusbar colors
set-option -g status-style fg=colour136,bg=colour235 #yellow and base02
# default window title colors
set-window-option -g window-status-style fg=colour244,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=colour166,bg=default #orange and default
#set-window-option -g window-status-current-style bright
# pane border
set-option -g pane-border-style fg=colour235 #base02
set-option -g pane-active-border-style fg=colour240 #base01
# message text
set-option -g message-style fg=colour166,bg=colour235 #orange and base02
# pane number display
set-option -g display-panes-active-colour colour33 #blue
set-option -g display-panes-colour colour166 #orange
# clock
set-window-option -g clock-mode-colour colour64 #green
# bell
set-window-option -g window-status-bell-style fg=colour235,bg=colour160 #base02, red