forked from ryanb/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux.conf
49 lines (36 loc) · 1023 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
40
41
42
43
44
45
46
47
48
49
# Set ctrl-a prefix
set -g prefix C-a
unbind C-b
set -g default-terminal "screen-256color"
# Timing stuff
set -s escape-time 1
set -g base-index 1
setw -g pane-base-index 1
bind r source-file ~/.tmux.conf \; display "Reloaded."
bind C-a send-prefix
# Window split bindings
bind '\' split-window -h
bind - split-window -v
# highlight window when it has new activity
setw -g monitor-activity on
set -g visual-activity on
# Pane resize shortcuts
bind H resize-pane -L 5
bind J resize-pane -D 5
bind K resize-pane -U 5
bind L resize-pane -R 5
# Selecting panes
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# color status bar
set -g status-bg colour235
set -g status-fg white
# highlight current window
set-window-option -g window-status-current-style fg=black
set-window-option -g window-status-current-style bg=green
# set -g mouse-select-pane on
#set -g mouse-select-pane off
set -g default-shell $SHELL
#set -g default-command "reattach-to-user-namespace -l ${SHELL}"