summary refs log tree commit diff
path: root/tmux.conf
blob: ea2d56bd4861a55b73a3b0a9aa40d614598620e8 (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
# 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