-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux.conf
63 lines (54 loc) · 1.7 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
# global settings
set -g prefix C-a
set -g base-index 1
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
set-option -g default-path "/home/divineslayer"
# keybinds
bind-key C-a last-window
bind-key a send-prefix
bind-key A command-prompt -I '#W' "rename-window '%%'"
bind-key m command-prompt "move-window -t '%%'"
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
bind-key -n F9 select-window -t 9
bind-key -n F10 select-window -t 10
bind-key -n F11 select-window -t 11
bind-key -n F12 select-window -t 12
# 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