-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
65 lines (51 loc) · 1.52 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
set -g @plugin 'catppuccin/tmux'
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# this messeses with C-p ...
# set -g @plugin 'olimorris/tmux-pomodoro-plus'
# set -g @plugin 'dreamsofcode-io/catppuccin-tmux'
# set -g @plugin 'christoomey/vim-tmux-navigator'
set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",xterm-256color:RGB"
set-option -g history-limit 5000
setw -g mode-keys vi
# set mouse off
# decrease command delay (increases vim responsiveness)
set -sg escape-time 1
# increase repeat time for repeatable commands
set -g repeat-time 1000
# start window index at 1
set -g base-index 1
# start pane index at 1
setw -g pane-base-index 1
# highlight window when it has new activity
#setw -g monitor-activity on
#set -g visual-activity on
# re-number windows when one is closed
set -g renumber-windows on
# tmux prefix
unbind C-b
set -g prefix C-j
# window splitting
unbind %
bind | split-window -h
unbind '"'
bind - split-window -v
# move in panes
bind -r h select-pane -L
bind -r j select-pane -D
bind -r k select-pane -U
bind -r l select-pane -R
# resize panes
bind -r H resize-pane -L 5
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r L resize-pane -R 5
# force a reload of the config file
unbind r
bind r source-file ~/.tmux.conf \; display "Reloaded!"
set -g @catppuccin_window_default_text "#W"
set -g @catppuccin_window_current_text "#W"
set -g @catppuccin_status_modules_left "session"
set -g @catppuccin_status_modules_right "date_time"
run '~/.tmux/plugins/tpm/tpm'