-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
30 lines (26 loc) · 891 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
set -g default-terminal "screen-256color"
set-window-option -g mode-keys vi
# Rebind the prefix to Ctrl-Space
unbind C-b
set-option -g prefix C-Space
set -s escape-time 0 # Prevent tmux from interfering with escape sequences.
# Use Alt-vim keys without prefix key to switch panes
bind -n M-h select-pane -L
bind -n M-j select-pane -D
bind -n M-k select-pane -U
bind -n M-l select-pane -R
# Copy and paste like in vim
bind P paste-buffer
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi y send-keys -X copy-selection
bind-key -T copy-mode-vi r send-keys -X rectangle-toggle
# THEME
set -g status-bg terminal
set -g status-fg terminal
#set -g window-status-current-bg green
#set -g window-status-current-fg white
#set -g window-status-current-attr bold
set -g status-interval 60
set -g status-left-length 30
set -g status-left '(#S)'
set -g status-right ''