blob: 35213d26d85df46d79e4201e6e96f0fa3a354ad0 (
plain)
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-option -sa terminal-overrides ",xterm*:Tc"
set -g mouse on
set -g base-index 1
set -g pane-base-index 1
set-window-option -g pane-base-index 1
set-window-option -g mode-keys vi
set-option -g renumber-windows on
set -gq allow-passthrough on
set -g visual-activity off
set-option -g focus-events on
unbind C-b
set -g prefix C-Space
bind C-Space send-prefix
unbind n
unbind p
unbind c
bind -n M-Right next-window
bind -n M-Left previous-window
bind-key c new-window
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi C-v send-keys -X rectangle-selection
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
unbind '"'
unbind '%'
bind '\' split-window -h -c "#{pane_current_path}"
bind '|' split-window -v -c "#{pane_current_path}"
bind-key C-l send-keys C-l \; clear-history
# Move between panes with Ctrl+Shift+h/j/k/l
bind -n M-H select-pane -L
bind -n M-J select-pane -D
bind -n M-K select-pane -U
bind -n M-L select-pane -R
# Rename current window with Alt+Shift+R
bind -n M-R command-prompt -I "#W" "rename-window '%%'"
|