forked from tridge-hq/nvim-lua
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux.conf
63 lines (48 loc) · 1.58 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
# Plugins
# -------
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-pain-control'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'tmux-plugins/tmux-yank'
run '~/.tmux/plugins/tpm/tpm'
set -g @continuum-restore 'on'
set -g @resurrect-processes ':all:'
set -g base-index 1 # Start windows and panes at 1, not 0
setw -g pane-base-index 1
setw -g mode-keys vi
setw -g automatic-rename on
set -g renumber-windows on
set -g history-limit 50000
bind r source-file ~/.tmux.conf \; display '~/.tmux.conf sourced'
# Key bindings
# ------------
set -g prefix C-a
unbind-key C-b
bind-key C-a send-prefix
bind a last-window
bind C-p previous-window
bind C-n next-window
# Theme
# -----
# i hate screen-256color. tmux-sensible set it
set -g default-terminal screen
# visible pane border
set -g pane-border-style none
set -g pane-active-border-style fg=red
# modern status design
set -g status-style fg=black,bg=blue
set -g status-left '#[bg=green] #S '
set -g status-right '#[bg=green] %H:%M '
set -g window-status-format ' #I:#W '
set -g window-status-current-format ' #I:#W '
set -g window-status-separator ''
set -g window-status-style fg=default,bg=default
set -g window-status-current-style reverse
set -g window-status-bell-style bg=red,blink
# handle bells
set -g visual-bell off # disable bell mesasge on status
set -g bell-action other # catch bells only from other windows
# comfortable color for messages
set -g message-style fg=black,bg=cyan