forked from DemonCloud/dotfile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
48 lines (36 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
40
41
42
43
44
45
46
47
48
# History Config
set-option -g history-limit 10000
# UTF8 Support
set-window-option -g utf8 on
# Not see this type for my eye ^_^
# auto window rename
set-window-option -g automatic-rename
# rm mouse mode fail
set -g mode-mouse off
set -g default-terminal "screen-256color"
set-option -g status-utf8 on
# Swicth Vim model delay
set -s escape-time 0
# Start numbering at 1
set -g base-index 1
setw -g pane-base-index 1
# When Close Window and recount number
set -g renumber-windows on
setw -g aggressive-resize on
# hjkl pane traversal
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Reload [.tmux.conf]
bind-key r source-file ~/.tmux.conf
unbind '"' # unbind horizontal split
unbind % # unbind vertical split
bind-key - split-window -v # split pane horizontally
bind-key | split-window -h # split pane vertically
bind-key \ split-window -h # split pane vertically
# List Tmux panes
bind-key Space list-panes
# SetColor Prefix
set -g pane-border-fg green
set -g pane-active-border-fg green