Repository navigation
Expand file tree
/
Copy path.tmux.conf
More file actions
62 lines (49 loc) · 2.36 KB
/
Copy path.tmux.conf
File metadata and controls
62 lines (49 loc) · 2.36 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
# Nice tmux config guides:
#
# https://unwiredcouch.com/2013/11/15/my-tmux-setup.html
# http://www.hamvocke.com/blog/a-guide-to-customizing-your-tmux-conf/
# http://danielallendeutsch.com/blog/16-using-tmux-properly.html
set -sg escape-time 1
# change prefix key sequence
unbind C-b
set -g prefix C-o
# start window numbering at 1 for easier switching
set -g base-index 1
# bind fast session switching
unbind S
bind S command-prompt "switch -t %1"
# enable mouse scolling
set -g mouse on
# listen to alerts from all windows
setw -g monitor-activity off
setw -g monitor-silence 0
set -g bell-action none
set-option -g status-interval 1
setw -g automatic-rename on
# Status bar config: git branch name + claude status
set -gq @current_command "#(~/.tmux/scripts/window-name.sh #{pane_current_path}) #{?#{==:#{@claude_status},?},#[fg=#{@thm_yellow}]#{@claude_status},#{?#{==:#{@claude_status},✓},#[fg=#{@thm_accent}]#{@claude_status},#{?#{==:#{@claude_status},…},#[fg=#{@thm_overlay1}]#{@claude_status},}}}"
# colors
# The plugin reads @evergarden_variant/@evergarden_accent (not @evergarden_style).
set -g @evergarden_variant "spring"
set -g @evergarden_accent "lime"
run ~/.tmux/plugins/evergarden-tmux/evergarden.sh
set -g allow-rename off
setw -g automatic-rename off
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @custom_copy_command 'rcopy'
set -g @override_copy_command 'rcopy'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run -b '~/.tmux/plugins/tpm/tpm'
# Overrides of evergarden-tmux configurations.
# The plugin sets its formats with `set -F`, which bakes values in at load
# time, so overrides must re-set the format options, not just the @_ vars.
set -gq @_wc_text "#[fg=#{@thm_accent},bg=#{@status_surface}] #{@current_command}"
set -gF window-status-current-format "#[fg=default,bg=default]#{E:@_wc_left}#{E:@_wc_text} #{E:@_wc_number}#{E:@_wc_right}"
# No -F here, so the clock is re-evaluated on every redraw.
set -g status-right "#[fg=#{@thm_surface0},bg=default]█#[fg=#{@thm_subtext0},bg=#{@thm_surface0}] %a %b %-d #[fg=#{@thm_text}]%-I:%M %p #[fg=#{@thm_surface0},bg=default]█"
set -g message-style "fg=#{@thm_crust},bg=#{@thm_accent}"
set -g message-command-style "fg=#{@thm_text},bg=#{@thm_crust}"