-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtmux.conf
46 lines (35 loc) · 1.25 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
unbind C-b
set -g prefix C-s
set -g default-shell /usr/local/bin/bash
# required.
# otherwise clipboard copying issues
# also `open .` fails
set -g default-command "reattach-to-user-namespace -l bash"
bind M-a send-prefix
bind-key a send-prefix
# fix wait time for escape (helps with tmux and vim)
set -s escape-time 0
# start indexing windows from 1, just like tabs
set -g base-index 1
# window titles
set -g set-titles on
# refresh-client
bind-key S source-file $HOME/.tmux.conf
# Enable ssh-agent use within tmux session
set-option -g update-environment "SSH_AUTH_SOCK SSH_AGENT_PID"
# Solarized light colours
set-option -g status-style fg=yellow,bg=white
set-option -g pane-border-style fg=white
set-option -g pane-active-border-style fg=brightcyan
set-option -g message-style fg=brightred,bg=white
set-option -g display-panes-active-colour blue
set-option -g display-panes-colour brightred
set-window-option -g clock-mode-colour green
set-window-option -g window-status-style fg=brightyellow,bg=default,dim
set-window-option -g window-status-current-style fg=brightred,bg=default,bright
# better time
set-option -g clock-mode-style 12
# mouse
set-option -g mouse on
# local computer override confs
if-shell "[ -f ~/.tmux.conf.local ]" "source ~/.tmux.conf.local"