-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.tmux.conf
65 lines (51 loc) · 1.43 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
set -g default-terminal "screen-256color"
set -g prefix C-a
unbind C-b
bind C-a send-prefix
bind a send-prefix
# quick pane cycling
unbind ^A
bind ^A select-pane -t :.+
# Set the base index for windows to 1 instead of 0
set -g base-index 1
# # Set the base index for panes to 1 instead of 0
setw -g pane-base-index 1
# splitting panes
bind | split-window -h
bind - split-window -v
# resize panes
unbind Left
unbind Right
unbind Down
unbind Up
bind -r Left resize-pane -L 2
bind -r Right resize-pane -R 2
bind -r Down resize-pane -D 2
bind -r Up resize-pane -U 2
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
## mouse support - set to on if you want to use the mouse
##setw -g mode-mouse off
##set -g mouse-select-pane off
##set -g mouse-resize-pane off
##set -g mouse-select-window off
# enable activity alerts
setw -g monitor-activity on
set -g visual-activity on
# set the status line's colors
set -g status-fg white
set -g status-bg black
#set the color of the window list
setw -g window-status-fg cyan
setw -g window-status-bg default
setw -g window-status-attr dim
# set colors for the active window
setw -g window-status-current-fg white
setw -g window-status-current-bg red
setw -g window-status-current-attr bright
set-option -g default-command "reattach-to-user-namespace -l $SHELL"
# Remove administrative debris (session name, hostname, time) in status bar
set -g status-left ''
set -g status-right ''