-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.tmux.conf
39 lines (32 loc) · 1006 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
set -g status-bg colour237 # grey
set -g status-fg colour15 # bright white
set -ag terminal-overrides ",$TERM:RGB"
set -g escape-time 10
set -q -g status-utf8 on
setw -q -g utf8 on
setw -g mouse on
set-option -g prefix C-a
bind C-a last-window
bind C-n next-window
set-window-option -g mode-keys vi
set-option -g bell-action any
set-window-option -g aggressive-resize on
set-option -g set-titles on
# split windows like vim
# vim's definition of a horizontal/vertical split is reversed from tmux's
bind s split-window -v
bind v split-window -h
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# resize panes like vim
# feel free to change the "1" to however many lines you want to resize
# by; only one at a time can be slow
bind < resize-pane -L 1
bind > resize-pane -R 1
bind - resize-pane -D 1
bind + resize-pane -U 1
# vi-style controls for copy mode
setw -g mode-keys vi
set-window-option -g window-status-current-style fg=brightblue,bg=colour236,bright