-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
47 lines (40 loc) · 1.23 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
set -s escape-time 1
set -g default-terminal "screen-256color"
# change prefix key
unbind C-b
set-option -g prefix C-q
set -g status-interval 10
set -g status-bg white
setw -g window-status-current-style "fg=white, bg=white"
#pane-active-border
set -g pane-active-border-style "fg=white"
# KeyBindings
# pane
unbind 1
bind-key s split-window -h -c "#{pane_current_path}"
bind-key v split-window -v -c "#{pane_current_path}"
bind C-k kill-pane
bind K kill-window
unbind &
bind -n S-left select-pane -L
bind -n S-down select-pane -D
bind -n S-up select-pane -U
bind -n S-right select-pane -R
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
#setw -g mode-mouse on
##set -g mouse-resize-pane on
##set -g mouse-select-pane on
##set -g mouse-select-window on
setw -g mouse on
bind -n WheelUpPane select-pane -t= \; copy-mode -e \; send-keys -M
bind -n WheelDownPane select-pane -t= \; send-keys -M
set-window-option -g mode-keys vi
#set-option -g default-command ""
set-option -g default-shell /usr/local/bin/zsh
#set-option -g default-command /usr/local/bin/zsh
unbind r
#bind C-r source-file ~/.tmux.conf #; display-message "reloaded"
#set-option -g default-command "reattach-to-user-namespace -l zsh"