This repository has been archived by the owner on Nov 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
48 lines (44 loc) · 1.57 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
#reload config
unbind r
bind r source-file ~/.config/tmux/tmux.conf
#vim motions
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
# Start windows and panes at 1, not 0
set -g base-index 1
setw -g pane-base-index 1
# Removes delay on escape key
set -sg escape-time 0
#refresh interval
set -sg status-interval 1
#mouse on
set -g mouse on
#status bar on top
set-option -g status-position top
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'MunifTanjim/tmux-mode-indicator'
set -g @plugin 'kristijanhusak/tmux-simple-git-status'
set -g @plugin 'KroneCorylus/tmux2editor'
#theme
set -g status-style 'fg=white'
active="#D5896F"
bg1="#394150"
bg2="#051014"
inactive="#2292A4"
set -g status-right-length 200
set-option -g status on
set-option -g status-left ""
set-option -g window-status-current-format "#[bg=$active,fg=white]#[bold] #I #[bg=$bg1,fg=white] #W "
set-option -g window-status-format "#[bg=$inactive,fg=white] #I #[bg=default,fg=white] #W "
set-option -g status-right "%H:%M #[bg=$bg2,fg=white] Session [#S] #[bg=$active,fg=white]#{tmux_mode_indicator} #[bg=$inactive,fg=white]#{simple_git_status} "
set-option -g status-justify left
set-option -g window-status-separator ""
set -g @mode_indicator_prefix_mode_style 'bg=red,fg=black'
set -g @mode_indicator_empty_mode_style "bg=$bg2,fg=white"
set-option -g history-limit 20000
#config for tmux2editor
EDITOR='nvim'
set -g @send_to_editor C-e
run '~/.config/tmux/plugins/tpm/tpm