-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
73 lines (56 loc) · 1.79 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
set -g base-index 1
set -g renumber-windows on
set -g history-limit 10000
if-shell 'test "$(uname -s)" = Darwin -a "$(uname -r | cut -f1 -d.)" -lt 14' 'set -g default-command "reattach-to-user-namespace -l fish"'
if-shell 'test "$(uname -s)" != Darwin' 'set -g default-command "fish"'
bind-key r source-file ~/.config/tmux/tmux.conf
set-option -g prefix C-p
unbind-key C-p
bind-key C-p send-prefix
# lower command delay
set -sg escape-time 1
# pane index begins at 1
setw -g pane-base-index 1
bind | split-window -h
bind - split-window -v
# easier pane movement
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# easier pane resizing
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
# make repeating a little easier with a 1s repeat limit
set-option -g repeat-time 1000
# window cycling
bind -r C-h select-window -t :-
bind -r C-l select-window -t :+
setw -g mode-keys vi
set -g default-terminal "screen-256color"
# broadcast to all panes
bind b setw synchronize-panes
# Solarized Light
set -g status-fg colour25 #blue
set -g status-bg colour120 #light green
set-window-option -g window-status-current-style fg=colour20
set-window-option -g clock-mode-colour colour64 #green
set -g message-style fg=colour166 #orange
set -g message-style bg=white #base2
set -g status-left-style bg=colour120
set -g status-left-style fg=colour25
set -g status-left-length 60
set -g status-interval 1
set -g status-left ' #[bold]❐ #S#[default] '
set -g @tpm_plugins " \
tmux-plugins/tpm \
tmux-plugins/tmux-resurrect \
tmux-plugins/tmux-sessionist \
tmux-plugins/tmux-fpp \
tmux-plugins/tmux-urlview \
"
set -g @fpp-key 'F'
set -g @urlview-key 'v'
run-shell ~/.config/tmux/plugins/tpm/tpm