-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdot_tmux.conf
More file actions
31 lines (24 loc) · 1.04 KB
/
Copy pathdot_tmux.conf
File metadata and controls
31 lines (24 loc) · 1.04 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
# ~/.tmux.conf — managed by dotfiles (chezmoi)
# Tuned for running Claude Code in a persistent, attachable session.
# screen-256color is present in every ncurses install (bulletproof); the Tc
# overrides add truecolor so the Claude Code TUI renders correctly.
set -g default-terminal "screen-256color"
set -ga terminal-overrides ",xterm-256color:Tc,*256col*:Tc"
# Snappy ESC handling — important for TUIs (Claude Code, vim) so Esc isn't
# swallowed as the start of an escape sequence.
set -sg escape-time 10
# Mouse scroll/select + a generous scrollback buffer.
set -g mouse on
set -g history-limit 50000
# 1-based window/pane indexing.
set -g base-index 1
setw -g pane-base-index 1
# Don't let programs rename the window out from under us.
setw -g allow-rename off
# Recover gracefully if the client terminal resizes (web terminal ↔ SSH).
setw -g aggressive-resize on
# Minimal status bar showing the session name.
set -g status-style "bg=default fg=cyan"
set -g status-left "#[bold] #S "
set -g status-left-length 30
set -g status-right "#[dim]%H:%M "