-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
49 lines (41 loc) · 990 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
set -g prefix C-Space
bind Space send-prefix
unbind C-b
# Split windows using s and v
unbind '"'
unbind %
bind s split-window -v
bind v split-window -h
# close window
unbind &
bind q killp
# vim-like pane nav
unbind h
unbind j
unbind k
unbind l
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# arrow pane nav
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
# switch windows alt+number
bind-key -n M-1 select-window -t 1
bind-key -n M-2 select-window -t 2
bind-key -n M-3 select-window -t 3
bind-key -n M-4 select-window -t 4
bind-key -n M-5 select-window -t 5
bind-key -n M-6 select-window -t 6
bind-key -n M-7 select-window -t 7
bind-key -n M-8 select-window -t 8
bind-key -n M-9 select-window -t 9
# Start windows and panes at 1, not 0
set -g base-index 1
setw -g pane-base-index 1
set -g history-limit 100000
set -g allow-rename off
set-window-option -g mode-keys vi