-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
70 lines (50 loc) · 1.77 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
66
67
68
69
70
# Reload tmux config
unbind r
bind r source-file ~/.tmux.conf
# remap prefix to Control + s
set -g prefix C-s
# mouse to resize panes
set -g mouse on
# Repeat time
set -g repeat-time 1000
# pane navigation hjkl
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
# Resize panes
bind-key -r -T prefix C-h resize-pane -L 5
bind-key -r -T prefix C-j resize-pane -D 5
bind-key -r -T prefix C-k resize-pane -U 5
bind-key -r -T prefix C-l resize-pane -R 5
# split panes
bind-key v split-window -h
bind-key s split-window -v
# swich session
bind-key w choose-tree
# tmux staus bar position on top
set-option -g status-position top
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'catppuccin/tmux'
set -g @plugin 'christoomey/vim-tmux-navigator'
# Catppuccin config (base: 'config 3')
set -g @catppuccin_window_left_separator ""
set -g @catppuccin_window_right_separator " "
set -g @catppuccin_window_middle_separator " █"
set -g @catppuccin_window_number_position "right"
set -g @catppuccin_window_default_fill "number"
set -g @catppuccin_window_default_text "#W"
set -g @catppuccin_window_current_fill "number"
set -g @catppuccin_window_current_text "#W"
set -g @catppuccin_status_modules_right "directory user host session"
set -g @catppuccin_status_left_separator " "
set -g @catppuccin_status_fill "icon"
set -g @catppuccin_status_connect_separator "no"
set -g @catppuccin_directory_text "#{pane_current_path}"
# Fix colors and enable true color support and italics
set -g default-terminal "tmux-256color"
# Tell Tmux that outside terminal supports true color
set-option -sa terminal-overrides ",xterm*:Tc"
# Initialize tmux plugin manager (keep this line at the bottom of config file)
run '~/.tmux/plugins/tpm/tpm'