-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
66 lines (39 loc) · 1.48 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Enable mouse mode (tmux 2.1 and above)
set -g mouse on
#don't rename windows automatically
set-option -g allow-rename off
# split panes using | and -
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %
# THEME
set -g status-interval 1
set -g status-left '#[bg=#78dce8]#[fg=black]#{?client_prefix,#[bg=#e5c463],} '
#set-window-option -g window-status-style fg='#f85e84',bg=default
#set-window-option -g window-status-current-style fg='#ff79c6',bg=default
set-window-option -g window-status-current-format "#[fg=white,bg=#211f21] #W* "
set-window-option -g window-status-format "#[fg=#e3e1e4, bg=#ff6188] #W "
set -g status-right '#[default] #[fg=white]%H:%M#[default] '
# clipboard program
set -s copy-command 'wl-copy'
# vim key-biddings
bind P paste-buffer
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi V send-keys -X rectangle-toggle
unbind -T copy-mode-vi Enter
bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'wl-copy'
bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel 'wl-copy'
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel 'wl-copy'
# select pane vim style
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
# windows bindings
bind-key t next-window
bind-key c new-window
# vim mode
setw -g mode-keys vi
#reload .tmux.conf
bind-key R source-file ~/.tmux.conf \; display-message "tmux.conf reloaded."