-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
43 lines (35 loc) · 1.01 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 -sg escape-time 0 # no delay time for escape key press
set -g base-index 1
setw -g pane-base-index 1
set -g visual-activity on
setw -g monitor-activity on
set -g mouse on
set-option -g renumber-windows on
# Set Ctrl + a to be the tmux prefix command
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
bind-key x kill-pane
bind-key a last-window
# splits
bind - split-window -v -c "#{pane_current_path}"
bind = split-window -h -c "#{pane_current_path}"
unbind '"'
unbind %
# Vim style pane selection
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind C-H resize-p -L 13
bind C-J resize-p -D 13
bind C-K resize-p -U 13
bind C-L resize-p -R 13
#bind-key -n <F4> select-window -p
#bind-key -n <F4> select-window -n
# adds an alias to reload tmux file
bind r source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded"
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin "arcticicestudio/nord-tmux"
run '~/.tmux/plugins/tpm/tpm'