-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.tmux.conf.local
More file actions
94 lines (70 loc) · 2.8 KB
/
.tmux.conf.local
File metadata and controls
94 lines (70 loc) · 2.8 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
# MateBot Tmux Configuration
# Optimized for long-running bridge sessions
# =============================================================================
# Core Settings
# =============================================================================
# Mouse support - essential for MateBot
set -g mouse on
# Increase history limit for long sessions
set -g history-limit 50000
# Faster response time
set -s escape-time 10
# Status bar at top
set -g status-position top
# =============================================================================
# Visual Customization
# =============================================================================
# Status bar content
set -g status-left "#[fg=cyan]🤖 MateBot #[default]"
set -g status-right "#[fg=yellow]#(whoami)#[default] @ #[fg=green]#(hostname -s)#[default]"
# Color scheme - dark blue/cyan theme
set -g mode-style "fg=cyan,bg=black,bright"
set -g status-style "fg=cyan,bg=black"
set -g pane-border-style "fg=blue,bg=black"
set -g pane-active-border-style "fg=cyan,bg=black"
# Window status colors
setw -g window-status-style "fg=white,bg=black"
setw -g window-status-current-style "fg=cyan,bg=black,bright"
setw -g window-status-activity-style "fg=yellow,bg=black,bright"
# =============================================================================
# Key Bindings
# =============================================================================
# Quick window switch without prefix
bind -n M-1 select-window -t 1
bind -n M-2 select-window -t 2
bind -n M-3 select-window -t 3
bind -n M-4 select-window -t 4
bind -n M-5 select-window -t 5
# Pane synchronization
bind y set-window-option synchronize-panes\; display-message "pane sync #{?pane_synchronized,on,off}"
# Custom split bindings (using standard prefix)
bind % split-window -h -c '#{pane_current_path}'
bind '-' split-window -v -c '#{pane_current_path}'
# Clear history
bind C-l send-keys C-l \; clear-history \; display-message "history cleared"
# =============================================================================
# Copy Mode
# =============================================================================
# Vi mode
setw -g mode-keys vi
# Copy mode key bindings
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
# Paste
bind ] paste-buffer
# Clipboard integration
set -g set-clipboard on
# =============================================================================
# Window Management
# =============================================================================
# Start windows and panes at 1, not 0
set -g base-index 1
setw -g pane-base-index 1
# Renumber windows on close
set -g renumber-windows on
# Activity monitoring
setw -g monitor-activity on
set -g visual-activity on
# Bell settings
set -g bell-action any
set -g visual-bell off