-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
47 lines (33 loc) · 1.06 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
source ~/.tmuxline
set -g default-terminal screen-256color
set -g terminal-overrides ",alacritty:RGB"
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
unbind C-b
set -g prefix C-a
set -g base-index 1
setw -g pane-base-index 1
set -g mouse on
# update default binding of `Enter` to also use copy-pipe
unbind -T copy-mode-vi Enter
bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "pbcopy"
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "pbcopy"
# messages
set -g message-style "fg=#b4b4b9,bg=#020221"
set -g message-command-style "fg=#99a4bc,bg=#020221"
# panes
set -g pane-border-style "fg=#57575e,bg=#0f0f11"
set -g pane-active-border-style "fg=#b4b4b9,bg=#0f0f11"
set -g mode-style "fg=#36363a,bg=#ddcfbf"
# split panes using | and -
bind | split-window -h
bind - split-window -v
unbind '"'
unbind '%'
# enable vi keys in copy mode
setw -g mode-keys vi
# enable prefix + / to search
bind-key / copy-mode \; send-key ?
# longer scrollback
set -g history-limit 20000
run -b '~/.tmux/plugins/tpm/tpm'