-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux.conf
67 lines (55 loc) · 1.45 KB
/
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
unbind C-b
set -g prefix C-Space
set -g default-terminal "screen-256color"
set -g history-limit 10000
bind C-Space last-window
bind Space send-prefix
bind C-d detach
bind C-c new-window
bind r source-file ~/.tmux.conf \; display-message "Configuration reloaded."
bind C-[ copy-mode
unbind Up
unbind Left
unbind Down
unbind Right
unbind C-Up
unbind C-Left
unbind C-Down
unbind C-Right
unbind M-Up
unbind M-Left
unbind M-Down
unbind M-Right
bind | split-window -h
bind - split-window -v
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind C-h select-pane -L
bind C-j select-pane -D
bind C-k select-pane -U
bind C-l select-pane -R
# Pane resizing
bind -r H resize-pane -L 5
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r L resize-pane -R 5
set -g base-index 1
set -s escape-time 10
setw -g mode-bg colour7
setw -g mode-fg colour10
set -g status-bg colour7
set -g status-fg colour10
set -g status-left ""
set -g window-status-current-style 'bg=colour15,fg=colour10,bold'
set -g window-status-current-format ' #I #W '
set -g window-status-format ' #I #W '
set -g window-status-separator ''
set -g status-interval 10
set-window-option -g mode-keys vi
bind-key -Tcopy-mode-vi 'v' send -X begin-selection
bind-key -Tcopy-mode-vi 'y' send -X copy-pipe-and-cancel "pbcopy"
bind-key -Tcopy-mode-vi 'C-v' rectangle-toggle
bind-key -Tcopy-mode-vi 'C-[' cancel
if '[ -f ~/.tmux.conf.local ]' 'source ~/.tmux.conf.local'