-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtmux.conf
More file actions
41 lines (30 loc) · 1.64 KB
/
tmux.conf
File metadata and controls
41 lines (30 loc) · 1.64 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
# ── AgentBox tmux configuration ──────────────────────────────────────────────
# Enable mouse (scroll, click panes, resize — essential for mobile/touch)
set -g mouse on
# 256-color + true-color support
set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",xterm-256color:Tc"
# Large scrollback buffer
set -g history-limit 10000
# Start windows and panes at 1 (not 0 — easier on phone keyboard)
set -g base-index 1
setw -g pane-base-index 1
# Renumber windows when one is closed
set -g renumber-windows on
# Reduce escape delay (snappier key response)
set -sg escape-time 10
# ── Status bar (hidden — portal manages session switching) ────────────────────
set -g status off
# Pane borders
set -g pane-border-style "fg=#333333"
set -g pane-active-border-style "fg=#00f5ff"
# ── Vi copy mode ─────────────────────────────────────────────────────────────
setw -g mode-keys vi
bind -T copy-mode-vi v send -X begin-selection
bind -T copy-mode-vi y send -X copy-selection-and-cancel
# ── Quality of life ──────────────────────────────────────────────────────────
# Split panes with | and -
bind | split-window -h -c "#{pane_current_path}"
bind - split-window -v -c "#{pane_current_path}"
# New window inherits current path
bind c new-window -c "#{pane_current_path}"