-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
59 lines (43 loc) · 1.49 KB
/
.tmux.conf
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
# reload config
unbind r
bind r source-file ~/.tmux.conf
# enable mouse movement with leader+:
setw -g mouse on
# improve colors
set -g default-terminal 'screen-256color'
# Start windows and panes at 1, not 0
set -g base-index 1
setw -g pane-base-index 1
# set shell
set -g default-shell /opt/homebrew/bin/fish
# Fix neovim insert-normal mode lag bug
set-option -sg escape-time 10
set-option -g focus-events on
# Change Leader/Prefix
set -g prefix2 C-s
# act like vim
setw -g mode-keys vi
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
bind-key -r C-h select-window -t :-
bind-key -r C-l select-window -t :+
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
set-option -g status-position top
set -g @catppuccin_window_status_style "rounded"
# Set window title
set -g @catppuccin_window_default_text " #W"
set -g @catppuccin_window_text " #W"
set -g @catppuccin_window_current_text " #W"
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'catppuccin/tmux#latest' # pin to specific version if needed, e.g., 'catppuccin/tmux#v0.3.0'
# Status bar customization
set -g status-left ""
set -g status-right "#{E:@catppuccin_status_application}"
set -ag status-right "#{E:@catppuccin_status_session}"
set -ag status-right "#{E:@catppuccin_status_uptime}"
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'