-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.tmux.conf
More file actions
101 lines (76 loc) · 2.47 KB
/
Copy path.tmux.conf
File metadata and controls
101 lines (76 loc) · 2.47 KB
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
set -g default-terminal "tmux-256color"
set-option -g terminal-features "${TERM}:RGB"
set-option -sa terminal-features ',*:hyperlinks'
set -as terminal-features ',xterm-ghostty:clipboard'
set-environment -g COLORTERM "truecolor"
set-option -g status-position top
set -g focus-events on
set -g allow-passthrough
set -g set-clipboard on
set-option -g default-shell /opt/homebrew/bin/bash
set -g prefix C-a
unbind C-b
bind-key C-a send-prefix
unbind %
bind | split-window -h
unbind '"'
bind - split-window -v
unbind r
bind r source-file ~/.tmux.conf
bind -r j resize-pane -D 6
bind -r k resize-pane -U 5
bind -r l resize-pane -R 5
bind -r h resize-pane -L 5
bind -r m resize-pane -Z
bind K clear-history
bind ? display-popup -E -w 80% -h 80% "tmux list-keys | less"
set -g mouse on
set -g history-limit 10000
# set -g @scroll-speed-num-lines 3
bind-key -T copy-mode-vi WheelUpPane send-keys -X -N 1 scroll-up
bind-key -T copy-mode-vi WheelDownPane send-keys -X -N 1 scroll-down
# Vim Mode
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi 'v' send -X begin-selection
bind-key -T copy-mode-vi 'y' send -X copy-selection
bind-key -T copy-mode-vi 'V' send -X select-line
unbind ]
bind ] copy-mode
unbind n
bind n display-popup -E "~/.local/scripts/tmux-sessionizer"
unbind a
bind a display-popup -E -w 80% -h 80% "/usr/local/bin/am"
unbind C-n
bind C-n run-shell "agent-manager --next"
unbind -T copy-mode-vi MouseDragEnd1Pane
# unbind C-j
set -g @tpad-jira-bind "C-j"
set -g @tpad-jira-opts "status off"
set -g @tpad-jira-cmd "jiratui ui --search-on-startup"
set -g @tpad-jira-title "#[fg=magenta,bold] Jira"
set -g @tpad-jira-width "80%"
set -g @tpad-jira-height "80%"
# tpm plugin
set -g @plugin 'tmux-plugin/tpm'
# tmux plugins
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'Subbeh/tmux-tpad'
set -g @plugin 'roosta/tmux-fuzzback'
set -g @plugin 'alexwforsythe/tmux-which-key'
set -g @resurrect-capture-pane-contents 'on'
set -g @continuum-restore 'on'
set -g @fuzzback-bind C-/
# Initialize tpm
run '~/.tmux/plugins/tpm/tpm'
# Extended keys — after TPM so plugins can't override
set -g extended-keys on
set -g extended-keys-format csi-u
set -as terminal-features '*:extkeys'
set -g status "on"
set -g status-justify "left"
set -g status-left-length "100"
set -g status-right-length "150"
set -g status-left-style NONE
set -g status-right-style NONE
# Theme (sourced dynamically via set-tmux-theme.sh)
source-file ~/.dotfiles/.config/tmux/themes/catppuccin-mocha.conf