blob: 08de40332336a2d94aba47c3b7288fd9a7b902c2 (
plain)
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @continuum-restore 'on'
set -g @continuum-save-interval '10'
set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",xterm-256color:Tc"
set -g @continuum-boot 'on'
set -g mouse on
set -g history-limit 100000
set -g base-index 1
setw -g pane-base-index 1
unbind C-b
set -g prefix C-Space
bind C-Space send-prefix
set -g detach-on-destroy off
set -g renumber-windows on
set -g set-clipboard on
set -g @continuum-restore 'on'
set -g @continuum-save-interval 0
set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",xterm-256color:Tc"
set -g @continuum-boot 'on'
set -g mouse on
set -g history-limit 100000
setw -g mode-keys vi
bind r source-file ~/.tmux.conf \; display-message "Config reloaded"
bind - split-window -v -c "#{pane_current_path}"
bind \\ split-window -h -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 -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 -T copy-mode-vi v send -X begin-selection
bind -T copy-mode-vi V send -X select-line
bind -T copy-mode-vi C-v send -X rectangle-toggle
bind -T copy-mode-vi y send -X copy-selection-and-cancel
bind -T copy-mode-vi Enter send -X copy-selection-and-cancel
bind -T copy-mode-vi Escape send -X cancel
bind -T copy-mode-vi H send -X start-of-line
bind -T copy-mode-vi L send -X end-of-line
bind -T copy-mode-vi C-u send -X halfpage-up
bind -T copy-mode-vi C-d send -X halfpage-down
bind -T copy-mode-vi / command-prompt -p "search" "send -X search-forward '%%'"
bind -T copy-mode-vi ? command-prompt -p "search" "send -X search-backward '%%'"
bind -T copy-mode-vi n send -X search-again
bind -T copy-mode-vi N send -X search-reverse
bind -T copy-mode-vi j send -X cursor-down
bind -T copy-mode-vi k send -X cursor-up
unbind &
bind & kill-window
unbind [
bind -n M-v copy-mode
set-option -g focus-events on
set -sg escape-time 10
set -g default-command "${SHELL}"
set -g status-position top
set -g status-left ""
set -g status-right ""
set -g status-style default
set -g window-status-style default
set -g window-status-current-style default
set -g pane-border-style default
set -g pane-active-border-style default
set -g message-style default
set -g mode-style default
set -g status-left-length 50
set -g status-right-length 100
set -g status-right " #S "
set -g window-status-format " #I "
set -g window-status-current-format "#[fg=#363a4f]#[bg=#363a4f,fg=#b7bdf8] #I #[fg=#363a4f,bg=default]#[default]"
set -g set-titles off
set -g automatic-rename off
set -g mode-keys vi
set -g mouse on
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @continuum-restore 'on'
set -g @continuum-save-interval '10'
run '~/.tmux/plugins/tpm/tpm'
|