blob: f0740a41a3bb9f0c2cf27c7e4af476af268ecc1b (
plain) (
blame)
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
|
# Prefix
set-option -g prefix C-z
unbind-key C-b
bind C-t send-prefix
set -g status on
set -g default-terminal "screen-256color"
# move pane like Vim
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# split window
bind _ split-window -v -c "#{pane_current_path}"
bind | split-window -h -c "#{pane_current_path}"
# move last window
bind C-z last-window
bind o last-pane
# Option
set-window-option -g mode-keys vi
# resize pane
bind -r H resize-pane -L 2
bind -r L resize-pane -R 2
bind -r J resize-pane -D 2
bind -r K resize-pane -U 2
bind i display-panes
# renumber window
set-option -g renumber-windows on
# don't rename the window
set-option -g allow-rename off
# start at 1
set-option -g base-index 1
|