-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux-osx.conf
83 lines (59 loc) · 2.08 KB
/
tmux-osx.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
81
82
83
set -sg escape-time 0
unbind C-b
set-option -g prefix `
bind ` send-prefix
set -g base-index 1
setw -g pane-base-index 1
setw -g aggressive-resize on
bind -n M-S-Left resize-pane -L
bind -n M-S-Down resize-pane -D
bind -n M-S-Up resize-pane -U
bind -n M-S-Right resize-pane -R
unbind a
bind a last-window
unbind r
bind r source-file ~/.tmux.conf
set -g window-style 'bg=default'
set -g window-active-style 'bg=default'
set -g status-style "bg=default"
set -g window-status-activity-style "bold"
set -g pane-border-style "fg=colour245"
set -g pane-active-border-style "fg=colour208"
set -g message-style "fg=colour16"
set -g message-style "bg=colour221"
set -g message-style "bold"
set -g status-left-length 32
set -g status-right-length 150
set -g status-interval 5
# set -g status-left '#[fg=colour229,bg=default,bold] #S #[fg=colour221,bg=default,nobold] ⧉ #[fg=colour238,bg=default,nobold]'
# set -g status-right '#[fg=colour245] %d %b %R#[fg=colour254,bg=colour0,nobold]'
set -g status-left ''
set -g status-right ''
set -g window-status-format "#[fg=white,bg=default,nobold] #I:#W "
set -g window-status-current-format "#[fg=black,bg=colour109,noreverse,bold] #I:#W #[fg=colour39,bg=default,nobold]"
set -g status-justify centre
set -g status-position top
set -g default-terminal "xterm-256color"
set-option -ga terminal-overrides ",xterm-256color:Tc"
set-option -g default-shell /usr/local/bin/zsh
setw -g monitor-activity on
set -g visual-activity off
setw -g mouse on
set-window-option -g mode-keys vi
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
unbind %
bind | split-window -h
unbind '"'
bind - split-window -v
bind _ split-window -v
set-option -g allow-rename off
set-window-option -g automatic-rename on
bind-key c new-window -n 'zsh'
bind-key T swap-window -t 0
bind-key -T copy-mode-vi v send -X begin-selection
bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "pbcopy"
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "pbcopy"
bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "pbcopy"