summary refs log tree commit diff
path: root/.tmux.conf
blob: bc0a0102d9cce26950c3600cefc6071338d1bb24 (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
unbind C-b
set -g prefix C-a
bind a send-prefix

set -g escape-time 0

set -g default-terminal 'screen-256color'

set -g base-index 1

set -g status-position top

bind t new-window -c '#{pane_current_path}'
bind . command-prompt "swap-window -t '%%'"

bind s split-window -v -c '#{pane_current_path}'
bind v split-window -h -c '#{pane_current_path}'

bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R

bind L swap-pane -D
bind H swap-pane -U

bind -r < resize-pane -L 1
bind -r > resize-pane -R 1
bind -r - resize-pane -D 1
bind -r + resize-pane -U 1

setw -g mode-keys vi
bind -t vi-copy v begin-selection
bind -t vi-copy C-v rectangle-toggle
bind -t vi-copy y copy-selection
bind p paste-buffer

bind C-a last-pane
bind = select-layout even-horizontal