Repository navigation
Expand file tree
/
Copy path.tmux.conf
More file actions
76 lines (56 loc) · 2.04 KB
/
Copy path.tmux.conf
File metadata and controls
76 lines (56 loc) · 2.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
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
# Set terminal features for Alacritty
set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",xterm-256color:RGB"
# Enable mouse support
set -g mouse on
set-option -g focus-events on
# Set the prefix key to Ctrl-A
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# Use vim keybindings in copy mode
setw -g mode-keys vi
# Split panes using | and -
bind | split-window -h -c "#{pane_current_path}"
bind - split-window -v -c "#{pane_current_path}"
unbind '"'
unbind %
# Vim style pane navigation
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Reload config file
bind r source-file ~/.tmux.conf \; display "Config reloaded!"
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'olimorris/tmux-pomodoro-plus'
#https://github.com/olimorris/tmux-pomodoro-plus?tab=readme-ov-file
set -g status-right "|#{pomodoro_status}"
set -g @pomodoro_on "#[fg=$text_red]🍅 "
set -g @pomodoro_complete "#[fg=$text_green]🍅 "
set -g @pomodoro_pause "#[fg=$color_yellow]🍅 "
set -g @pomodoro_prompt_break "#[fg=$color_green]🕤 ? "
set -g @pomodoro_prompt_pomodoro "#[fg=$color_gray]🕤 ? "
#set -g @pomodoro_interval_display "[%s/%s]"
set -g @pomodoro_granularity 'on'
set -g status-interval 1
run '~/.tmux/plugins/tpm/tpm'
# Start window numbering at 1
set -g base-index 1
setw -g pane-base-index 1
# Renumber windows when a window is closed
set -g renumber-windows on
# Increase scrollback buffer size
set -g history-limit 10000
# Tokyo Night theme
set -g status-style "bg=#0E1415,fg=#CECECE"
set -g pane-border-style "fg=#CECECE"
set -g pane-active-border-style "fg=#7aa2f7"
set -g message-style "bg=#3b4261,fg=#a9b1d6"
#set -g status-left "#[fg=#1a1b26,bg=#7aa2f7,bold] #S #[fg=#7aa2f7,bg=#1a1b26]"
set -g status-left "#[fg=#CECECE,bg=#7aa2f7,bold]"
#set -g status-right "#[fg=#1a1b26,bg=#7aa2f7,bold] 🚀 %Y-%m-%d %H:%M "
set -g window-status-format "#[fg=#CECECE,bg=#1a1b26] #I #W "
set -g window-status-current-format "#[fg=#CECECE,bg=#1a1b26,bold] #I #W "
# Reduce escape-time
set -sg escape-time 10