blob: a3994aac0e910b1c9f6dbb35dde40744c5c67746 (
plain)
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
|
set -sg escape-time 20
set -g history-limit 10000
set -g status-interval 5
set -g default-terminal "screen-256color"
set -g focus-events on
set -g base-index 1
set -g pane-base-index 1
set-window-option -g pane-base-index 1
set-option -g renumber-windows on
set-option -g detach-on-destroy off
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'tmux-plugins/tmux-yank'
unbind C-b
unbind '"'
unbind %
set-option -g prefix C-x
bind-key C-x send-prefix
bind -n M-h previous-window
bind -n M-l next-window
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind | split-window -h -c "#{pane_current_path}"
bind - split-window -v -c "#{pane_current_path}"
bind-key r command-prompt -I "#W" "rename-window '%%'"
bind-key b attach-session -c "#{pane_current_path}"
bind-key x kill-pane
unbind f
bind f split-pane "tmux-sessionizer"
bg="#698DDA"
set -g status-position "bottom"
set -g status-style bg=default,fg=default
set -g status-justify "centre"
set -g status-left " #[bg=${bg},fg=#ffffff] tmux "
set -g status-right "compromyse "
set -g window-status-format " #I:#W "
set -g window-status-current-format "#[bg=${bg},fg=#000000] #I:#W "
run '~/.tmux/plugins/tpm/tpm'
|