1 set -g allow-passthrough on
7 # Reduce time to consider Esc+<key> as <Alt+key>
9 set -sg extended-keys always
11 # Start windows and panes at 1, not 0
13 setw -g pane-base-index 1
14 bind-key 0 select-window -t 10
16 bind-key Escape copy-mode
18 bind-key p paste-buffer
19 bind-key -T copy-mode-vi 'v' send-keys -X begin-selection
20 bind-key -T copy-mode-vi 'y' send-keys -X copy-selection
21 bind-key -T copy-mode-vi 'Space' send-keys -X halfpage-down
22 bind-key -T copy-mode-vi 'Bspace' send-keys -X halfpage-up
24 # easy-to-remember split pane commands
25 bind-key | split-window -h
26 bind-key - split-window -v
30 # moving between panes with vim movement keys
31 bind-key h select-pane -L
32 bind-key j select-pane -D
33 bind-key k select-pane -U
34 bind-key l select-pane -R
36 # moving between windows with vim movement keys
37 bind-key -r C-h select-window -t :-
38 bind-key -r C-l select-window -t :+
39 bind-key r move-window -r # reorder windows
41 # resize panes with vim movement keys
42 bind-key -r H resize-pane -L 5
43 bind-key -r J resize-pane -D 5
44 bind-key -r K resize-pane -U 5
45 bind-key -r L resize-pane -R 5
47 #TODO use THEME env somehow, see FORMATS in tmux(1)
48 set -g @plugin "arcticicestudio/nord-tmux"
49 run '$XDG_CONFIG_HOME/tmux/plugins/tpm/tpm'