-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf-2.3
executable file
·54 lines (45 loc) · 1.23 KB
/
.tmux.conf-2.3
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
49
50
51
52
53
54
#---------------#
# Options #
#---------------#
# Systems
set-option -g default-shell /bin/zsh
set-option -g default-command /bin/zsh
set-option -g history-limit 10000
#set-window-option -g utf8 on
set-option -g escape-time 10
# Keys
set-option -g prefix C-q
set-option -g status-keys emacs
set-window-option -g mode-keys vi
bind C-q send-prefix
# Interface
set-option -g default-terminal "screen-256color"
set-option -g status-style bg=blue
set-option -g status-right " #(date +'[%H:%M]') - #(tmux-mem-cpu-load --interval 3)"
set-window-option -g window-status-current-style bg=black,fg=white
set-window-option -g window-status-style fg=cyan
#---------------#
# KeyBind #
#---------------#
# Unset default prefix
unbind C-b
# Set vim like window operator
unbind l
bind -r h select-pane -L
bind -r j select-pane -D
bind -r k select-pane -U
bind -r l select-pane -R
# Change horizon split key
unbind '"'
bind s split-window -v
# Change virtical split key
unbind %
bind v split-window -h
# Yank Keys
bind -t vi-copy v begin-selection
bind -t vi-copy y copy-selection
bind -t vi-copy _ back-to-indentation
# Others
bind * choose-session
# Set reload configure
bind r source-file ~/.tmux.conf \; display-message ">> .tmux.conf reloaded"