-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
39 lines (33 loc) · 1.05 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
set-option -g prefix C-a
unbind-key C-b
bind-key C-a last-window
bind-key C-c new-window
bind-key C-n next-window
bind-key C-p previous-window
bind-key | split-window -h
bind-key - split-window -v
set-option -g base-index 1
set-option -g pane-base-index 1
set-option -g status-position top
set-option -g mouse on
#set-option -g mode-mouse on
#set-option -g mouse-utf8 on
#set-option -g mouse-resize-pane on
#set-option -g mouse-select-pane on
#set-option -g mouse-select-window on
set-window-option -g mode-keys vi
set-window-option -g xterm-keys on
#set -g default-terminal screen
#set -g default-terminal xterm-256color
set -g default-terminal screen-256color
bind-key -n WheelUpPane \
if-shell -Ft= "#{?pane_in_mode,1,#{mouse_button_flag}}" \
"send-keys -M" \
"if-shell -Ft= '#{alternate_on}' \
'send-keys Up Up Up' \
'copy-mode'"
bind-key -n WheelDownPane \
if-shell -Ft= "#{?pane_in_mode,1,#{mouse_button_flag}}" \
"send-keys -M" \
"send-keys Down Down Down"
source /usr/share/tmux/powerline.conf