-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.tmux.conf
More file actions
67 lines (53 loc) · 2.12 KB
/
.tmux.conf
File metadata and controls
67 lines (53 loc) · 2.12 KB
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
67
# bind prefix and send-prefix to ctrl-a
unbind C-b
set-option -g prefix C-a
bind C-a send-prefix
# use C-a C-a to go to last window
# bind-key C-a last-window
# start the windows and panes numbering from 1
set-option -g base-index 1
set-window-option -g pane-base-index 1
# force the terminal to be with 256 colors
set -g default-terminal "screen-256color"
# colors
set-option -g status-bg blue
set-option -g status-fg white
# set-window-option -g window-status-current-bg magenta
set-window-option -g window-status-last-bg colour124
set-window-option -g window-status-last-fg white
set-window-option -g window-status-last-attr bold
# display the pane title
# set -g pane-border-status [bottom|off]
# status right and left
set -g status-right\
"#(/home/montefra/.tmux/plugins/tmux-continuum/scripts/continuum_save.sh)\
#{prefix_highlight} | #[fg=white,bold]#[bg=blue] %H:%M %d-%b-%y"
set -g status-left "[#S] "
# tabs
# setw -g window-status-format "#[fg=white]#[bg=blue] #I #[bg=blue]#[fg=white] #W "
setw -g window-status-current-format "#[bg=brightmagenta]#[fg=white,bold] *#I #[fg=white,bold]#[bg=cyan] [#W] "
# show when is in copy mode
set -g @prefix_highlight_show_copy_mode 'on'
# notify active windows: by default fg and bg are inverted for notifications
# set-window-option -g monitor-activity on
# set -g visual-activity on
# set-window-option -g window-status-activity-fg blue
# set-window-option window-status-activity-bg "colour196"
#
# set-window-option -g monitor-silence 30
# set-window-option window-status-activity-bg "colour243"
# restore sessions when starting tmux
set -g @continuum-save-interval '30'
set -g @continuum-restore 'on'
# increase the size of the status line
set-option -g status-left-length 25
# plugins. Managed with TPM (tmux plugin manager)
# tpm manages tpm
set -g @plugin 'tmux-plugins/tpm'
# save and reload sessions
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
set -g @plugin 'tmux-plugins/tmux-yank'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/tpm/tpm'