-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
39 lines (26 loc) · 1.02 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
# synchronize at window level
bind y set synchronize-panes
set-option -ag status-left '#{?pane_synchronized, #[bg=blue]SYNC!!!#[default],}'
#set-option -g synchronize-panes on
# use a large scrollback history
set-option -g history-limit 100000
set-option -g mode-keys vi
set-option -g base-index 1
set-option -g pane-base-index 1 # start pane indices at 1
set -g default-terminal "screen-256color"
#set -g status-bg black
#set -g status-fg white
set -g mouse on
bind-key -T root PPage if-shell -F "#{alternate_on}" "send-keys PPage" "copy-mode -e; send-keys PPage"
bind-key -t vi-copy PPage page-up
bind-key -t vi-copy NPage page-down
bind -n C-WheelUpPane select-pane -t= \; copy-mode -e \; send-keys -M
bind -t vi-copy C-WheelUpPane halfpage-up
bind -t vi-copy C-WheelDownPane halfpage-down
#to make active pane highlight
set-window-option -g window-style 'bg=#181818'
set-window-option -g window-active-style 'bg=black'
set-window-option -g pane-active-border-style ''
unbind C-b
set -g prefix C-a
bind C-a send-prefix