-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux.conf
57 lines (48 loc) · 1.44 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
# global settings
set -g prefix C-y
set -g base-index 1
set -g mouse-select-pane on
set -g default-terminal screen-256color
# status bar settings
set-option -g status-bg colour239
set-option -g status-fg colour230
set-option -g status-keys vi
set-option -g status-left ""
set-option -g status-right "#(~/bin/check_mail.sh)#(~/bin/check_updates.sh)"
# window settings
set-window-option -g utf8 on
set-window-option -g mode-keys vi
set-window-option -g automatic-rename off
set-window-option -g window-status-format "#I #W "
set-window-option -g window-status-current-format "#I #W "
set-window-option -g window-status-current-attr bold
# pane settings
set-option -g pane-border-fg colour239
set-option -g pane-active-border-fg colour239
# keybinds
bind-key C-y last-window
bind-key y send-prefix
bind-key O kill-pane -a
bind-key R kill-pane
# fast splitting
bind-key s split-window -v
bind-key v split-window -h
# quick window selecting
bind-key -n F1 select-window -t 1
bind-key -n F2 select-window -t 2
bind-key -n F3 select-window -t 3
bind-key -n F4 select-window -t 4
bind-key -n F5 select-window -t 5
bind-key -n F6 select-window -t 6
bind-key -n F7 select-window -t 7
bind-key -n F8 select-window -t 8
# pane switching
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
# pane resizing
bind-key -r ^H resize-pane -L
bind-key -r ^J resize-pane -D
bind-key -r ^K resize-pane -U
bind-key -r ^L resize-pane -R