-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
35 lines (26 loc) · 860 Bytes
/
.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
#notes
#-must bind new key before unbinding old keys
### set new prefix
# set new prefix globally
set-option -g prefix M-Enter
bind-key M-Enter send-prefix
### split panes using '|' and '-'
# bind new split-window keys + new panes open in home
bind | split-window -h -c '#{pane_current_path}'
bind - split-window -v -c '#{pane_current_path}'
# Make <C-[> work properly in Vim
set-option -s escape-time 0
# reload config file
bind r source-file ~/.tmux.conf
# start window numbers at 1 to match keyboard order with tmux window order
set -g base-index 1
set-window-option -g pane-base-index 1
# increase scrollback lines
set -g history-limit 10000
# switch panes using Alt-arrow without prefix
bind -n S-Left select-pane -L
bind -n S-Right select-pane -R
bind -n S-Up select-pane -U
bind -n S-Down select-pane -D
# enable mouse mode
set -g mouse on