-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
65 lines (51 loc) · 1.78 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
60
61
62
63
64
65
# Fix nvim color inside tmux
set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",xterm-256color:RGB"
set-option -sa terminal-overrides ",xterm*:Tc"
# Reload config
unbind r
bind r source-file ~/.tmux.conf
# Enable mouse
set -g mouse on
# Navigate panes
# bind -n C-Tab select-window -n
# bind -n C-S-Tab select-window -p
bind -n C-Tab select-window -n
bind -n C-S-Tab select-window -p
# Vi like navigations
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
# Move status bar to top
set -g status-position top
# Navigate around panes easily using vim-like keybindings
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Plugins
set -g @tpm_plugins ' \
catppuccin/tmux \
tmux-plugins/tpm \
tmux-plugins/tmux-sensible \
'
# Status bar left side separators
set -g @catppuccin_window_left_separator "█"
set -g @catppuccin_window_right_separator "█ "
set -g @catppuccin_window_number_position "right"
set -g @catppuccin_window_middle_separator " █"
set -g @catppuccin_window_default_fill "number"
# Change window page title.
# Change <username> to ~ when it is found in pane path
set -g @catppuccin_window_default_text "#(echo '#{b:pane_current_path}' | sed 's,$USER,~,')"
# Status bar right side contents
set -g @catppuccin_status_modules_right "application session"
# Status bar right side contents overrides
set -g @catppuccin_application_color "#89dceb"
set -g @catppuccin_directory_color "#a6e3a1"
# Status bar right side separators
set -g @catppuccin_status_left_separator "█"
set -g @catppuccin_status_right_separator "█"
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'