-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.tmux.conf
77 lines (53 loc) · 1.96 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
74
75
76
77
set -g default-command "/opt/homebrew/bin/zsh"
set -g default-terminal "screen-256color"
set-option -sa terminal-overrides ',xterm-kitty:Tc'
unbind C-b
set -g prefix C-a
bind C-a send-prefix
set -sg escape-time 0
set -g assume-paste-time 0
set -g base-index 1
setw -g pane-base-index 1
set-option -g repeat-time 1000
set-option -g history-limit 10000
bind r source-file ~/.tmux.conf \; display "Reloaded!"
bind c new-window -c "#{pane_current_path}"
bind '\' split-window -h -c "#{pane_current_path}"
bind - split-window -v -c "#{pane_current_path}"
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind -nr C-h select-window -t :-
bind -nr 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
bind e send-keys -R \; clear-history
bind-key -T copy-mode C-w send-keys -X copy-selection
bind-key -T copy-mode MouseDragEnd1Pane send-keys -X copy-selection
bind-key -T copy-mode M-w send-keys -X copy-selection
bind-key -T copy-mode-vi C-j send-keys -X copy-selection
bind-key -T copy-mode-vi Enter send-keys -X copy-selection
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-selection
set-option -g -q mouse on
setw -g window-status-style fg=cyan,bg=default,dim
setw -g window-status-current-style fg=white,bg=red,bright
set -g pane-border-style fg=green,bg=black
set -g pane-active-border-style fg=white,bg=yellow
set -g message-style fg=white,bg=black,bright
set -g status-style fg=white,bg=black
set -g status-left-length 40
set -g status-left "#[fg=green]Session: #S #[fg=yellow]#I #[fg=cyan]#P"
set -g status-right ""
set -g status-justify centre
setw -g monitor-activity off
set -g visual-activity off
set -g focus-events on
set -g -s set-clipboard
set -g @thumbs-command 'echo -n {} | pbcopy'
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'fcsonline/tmux-thumbs'
set -g @plugin 'tmux-plugins/tmux-yank'
run '/opt/homebrew/opt/tpm/share/tpm/tpm'