-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
51 lines (44 loc) · 1.22 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
unbind C-b
set -g prefix C-a
set -g default-terminal "screen-256color"
#copy-mode in vi
setw -g mode-keys vi
#mouse support
setw -g mouse on
#copy to systerm clipboard
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'
#r to reload source file
bind r source-file ~/rcfiles/tmux.conf \; display "Reloaded!"
setw -g monitor-activity on
set -g visual-activity on
#status bar
set -g status-bg black
set -g status-fg white
set -g status-interval 60
set -g status-justify centre
#left and right
#set -g status-left-length 40
set -g status-right '[%m-%d %R]'
#windows list
set -g base-index 1
setw -g automatic-rename on
setw -g window-status-fg white
setw -g window-status-bg default
setw -g window-status-attr bright
#current window
setw -g window-status-current-fg default
setw -g window-status-current-bg red
setw -g window-status-current-attr bright
#move around panes with hjkl, as in vim after pressing ctrl-w
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
#split windows like vim
bind s split-window -v
bind v split-window -h
#pane
setw -g pane-base-index 1
# cmatrix screensaver
set -g lock-after-time 180
set -g lock-command "nice -n 18 cmatrix -s -b -u 9"