-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtmux.conf
More file actions
70 lines (53 loc) · 1.74 KB
/
tmux.conf
File metadata and controls
70 lines (53 loc) · 1.74 KB
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
#Crtl-b was to hard to press
set-option -g prefix M-a
#source machine specific configuration
source-file ~/.tmux.local.conf
#use vim key bindings
setw -g mode-keys vi
#History size
setw -g history-limit 50000
#Make sure we get xterm keys
set-window-option -g xterm-keys on
# make tmux look good
set -g default-terminal "screen-256color"
#move between windows
bind-key -n S-Right next-window
bind-key -n S-Left previous-window
# From thoughtbots tmux.conf
# https://github.com/thoughtbot/dotfiles/blob/master/tmux.conf
# start window numbers at 1 to match keyboard order with tmux window order
set -g base-index 1
# renumber windows sequentially after closing any of them
set -g renumber-windows on
#get Ctrl-a back for the shell
#bind-key a send-prefix
#move between panes
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Clear history b/c xcodebuild
# from https://github.com/napcs/dotfiles/blob/master/.tmux.conf
bind C-k send-keys 'C-l'\; clear-history
# Notifying if other windows has activities
setw -g monitor-activity on
set -g visual-activity on
#### COLOUR
#solarized from
#https://github.com/seebi/tmux-colors-solarized/blob/master/tmuxcolors.conf
#
# default statusbar colors
set-option -g status-style fg=colour136
# default window title colors
set-window-option -g window-style fg=colour244
# active window title colors
set-window-option -g window-status-style fg=colour166
# pane border
set-option -g pane-active-border-style fg=colour240 #base01
# message text
set-option -g message-style fg=colour166 #orange
# 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