-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
72 lines (56 loc) · 1.5 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
68
69
70
71
72
set -g default-command bash
#set -g set-remain-on-exit on
set -g pane-border-fg black
set -g pane-active-border-fg black
#set -g pane-active-border-fg colour24
# Statusbar properties.
set -g status-right ""
set -g status-left ""
set -g status-bg colour235
set -g status-fg colour252
# Highlight active window in status bar
set-window-option -g window-status-current-fg colour32
set-window-option -g window-status-current-attr bold
# Use backtick instead of c-b as the prefix
unbind C-b
set -g prefix `
bind ` send-prefix
# confirm before killing window or server
bind x confirm kill-pane
bind K kill-window
bind & confirm kill-server
# respawn
unbind r
bind r respawn-window
bind R respawn-pane
# previously selected window
bind b last-window
# No visual activity
set -g visual-activity off
set -g visual-bell off
# split the window keeping current directory
unbind %
bind s split-window -v -c "#{pane_current_path}"
bind v split-window -h -c "#{pane_current_path}"
# move between panes
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# resize panes
bind , resize-pane -L 3
bind . resize-pane -R 3
bind - resize-pane -D 3
bind = resize-pane -U 3
# open man page
bind-key m command-prompt "neww 'exec man %%'"
# send current pane to a window
bind-key t choose-window "join-pane -v -t "%%""
# start window indexing at one instead of zero
set -g base-index 1
# All new windows started at startup.
new -d -n ''
neww -d -n '' -t 2
neww -d -n '' -t 3
neww -d -n '' -t 4
neww -d -n '' -t 5