blob: 3361de2f477ceb126c5308ae63e0a51e942590fa (
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
|
set -g mouse on
setw -g mode-style 'fg=black bg=blue bold'
setw -g clock-mode-colour yellow
set -g pane-border-style 'fg=red'
set -g pane-active-border-style 'fg=yellow'
set -g status-position bottom
set -g status-justify left
set -g status-style 'fg=red'
set -g status-left ''
set -g status-left-length 30
setw -g window-status-current-style 'fg=black bg=blue'
setw -g window-status-current-format ' #I #W #F '
setw -g window-status-style 'fg=red bg=black'
setw -g window-status-format ' #I #[fg=white]#W #[fg=yellow]#F '
setw -g window-status-bell-style 'fg=yellow bg=red bold'
set -g message-style 'fg=yellow bg=red bold'
set -g status-justify centre
set-option -g prefix 'C-a'
set -g history-limit 1000000
bind-key J resize-pane -D 5
bind-key K resize-pane -U 5
bind-key H resize-pane -L 5
bind-key L resize-pane -R 5
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind-key v split-window -v -c "#{pane_current_path}"
bind-key s split-window -h -c "#{pane_current_path}"
setw -g mode-keys vi
set-option -g status-right ""
set -g base-index 1
bind r source-file ~/.tmux.conf \; display "Reloaded!"
unbind -T copy-mode-vi Enter
unbind -T copy-mode-vi Space
bind-key -T edit-mode-vi Up send-keys -X history-up
bind-key -T edit-mode-vi Down send-keys -X history-down
bind-key -T copy-mode-vi 'v' send-keys -X begin-selection
bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel
set -ga terminal-overrides ',*:Ss=\E[%p1%d q:Se=\E[2 q'
set -g default-terminal "tmux-256color"
set -as terminal-features ",xterm-ghostty:RGB"
bind-key y display-popup -d '#{pane_current_path}' -x R -h 95% -w 95% -E "emacsclient -t -a '' ."
bind-key g popup -E -w 95% -h 95% -d '#{pane_current_path}' lazygit
set -g allow-passthrough on
set -ga update-environment TERM
set -ga update-environment TERM_PROGRAM
bind c new-window -c "#{pane_current_path}"
bind-key z popup -E -w 95% -h 90%
set -q -g status-utf8 on
setw -q -g utf8 on
set -s escape-time 50
set -g focus-events on
bind-key e display-popup -w 95% -h 90% -E "tmux capture-pane -Jp -S- > /tmp/tmux-scrollback && emacsclient -t -a '' /tmp/tmux-scrollback"
|