-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
70 lines (49 loc) · 1.55 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
set -g prefix `
bind-key ` send-prefix
unbind C-b
setw -g mode-mouse on
setw -g mouse-select-pane off
setw -g mouse-resize-pane on
setw -g mouse-select-window on
setw -g mode-keys emacs
set -g status-keys emacs
setw -g utf8 on
set -g default-terminal "screen-256color"
set -g base-index 1
setw -g pane-base-index 1
bind C-r source-file ~/.tmux.conf \; display "Configuration reloaded!"
# bind c send-keys -R \; clear-history
bind | split-window -h
bind - split-window -v
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind -r C-h select-window -t :-
bind -r C-l select-window -t :+
bind -r H resize-pane -L 5
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r L resize-pane -R 5
set -g status-fg colour153
set -g status-bg colour25
setw -g window-status-fg default
setw -g window-status-bg default
setw -g window-status-attr dim
setw -g window-status-current-fg colour228
setw -g window-status-current-bg colour29
setw -g window-status-current-attr bright
setw -g monitor-activity on
set -g visual-activity on
set -g message-fg colour153
set -g message-bg colour25
set -g status-left "[#S]"
set -g status-right "(#h)"
set -g visual-bell on
set-option -g default-command "~/bin/reattach-to-user-namespace -l zsh"
set -g set-titles on
set -g set-titles-string "#W [#S/#h]"
unbind -t emacs-copy Enter
bind-key -t emacs-copy Enter copy-pipe "reattach-to-user-namespace pbcopy"
bind-key -t emacs-copy M-w copy-pipe "reattach-to-user-namespace pbcopy"
bind-key -t emacs-copy C-w copy-pipe "reattach-to-user-namespace pbcopy"