-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtmux.conf
31 lines (26 loc) · 811 Bytes
/
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
# Set prefix key to Ctrl+Space
unbind-key C-b
set-option -g prefix C-Space
# window/pane indices start at one for a more logical key binding layout
set -g base-index 1
set -g pane-base-index 1
bind 0 last-window
# Scrollback buffer
set-option -g history-limit 8192
# Act more like vim.
setw -g mode-keys vi
bind C-h select-pane -L
bind C-j select-pane -D
bind C-k select-pane -U
bind C-l select-pane -R
bind-key -r K resize-pane -U 1
bind-key -r J resize-pane -D 1
bind-key -r L resize-pane -R 1
bind-key -r H resize-pane -L 1
bind-key -r C-BSpace select-window -t :-
bind-key -r C-Space select-window -t :+
bind-key -r Enter previous-window
# Toggle mouse mose with prefix M
bind-key C-m set-option -g mouse
# Use more standard word separators for copy mode motions
set-option -g word-separators ' /.@:-'