-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux.conf
42 lines (31 loc) · 1.05 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
set -g @plugin 'seebi/tmux-colors-solarized'
set -g @colors-solarized 'dark'
set-option -g default-terminal "screen-256color"
set-option -sa terminal-overrides ',alacritty:RGB'
set-option -g focus-events on
setw -g mouse on
set-option -s escape-time 0
unbind C-b
set -g prefix C-q
set -g set-titles on
set -g set-titles-string "[tmux] #T @ #H"
set -g history-limit 20000
bind-key c new-window -c "#{pane_current_path}"
bind-key v split-window -h -c "#{pane_current_path}"
bind-key w split-window -v -c "#{pane_current_path}"
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
bind-key -r H resize-pane -L 2
bind-key -r J resize-pane -D 2
bind-key -r K resize-pane -U 2
bind-key -r L resize-pane -R 2
bind-key -r C-h select-window -t :-
bind-key -r C-l select-window -t :+
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode C-u send-keys -X page-up
bind-key -T copy-mode C-d send-keys -X page-down
set -g base-index 1
run '~/.tmux/plugins/tpm/tpm'