-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.tmux.conf
54 lines (42 loc) Β· 1.27 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
# Remap prefix
unbind C-b
set-option -g prefix C-f
bind-key C-f send-prefix
# Split panes using v and s
bind v split-window -h
bind s split-window -v
unbind '"'
unbind %
# Bind C-f h/j/k/l to switch panes
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Bind C-f f to choose session
bind f choose-session
# Start numbering windows and panes at 1
set -g base-index 1
setw -g pane-base-index 1
# Reload config file
bind r source-file ~/.tmux.conf
# Enable mouse control
set -g mouse on
# Don't rename windows automatically
set-option -g allow-rename off
# Don't do anything when a 'bell' rings
set -g visual-activity off
set -g visual-bell off
set -g visual-silence off
setw -g monitor-activity off
set -g bell-action none
# Plugins
set -g @plugin 'Nybkox/tmux-kanagawa'
# Configure tmux-kanagawa
set -g @kanagawa-show-battery false
set -g @kanagawa-plugins "time"
set -g @kanagawa-show-powerline true
# Set escape time to zero to make it not delayed in Helix
# https://github.com/helix-editor/helix/wiki/Troubleshooting#when-using-tmux-or-screen-there-is-a-delay-after-hitting-escape-before-its-registered
set -sg escape-time 0
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '/opt/homebrew/opt/tpm/share/tpm/tpm'