-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.tmux.conf
More file actions
55 lines (42 loc) · 1.4 KB
/
Copy path.tmux.conf
File metadata and controls
55 lines (42 loc) · 1.4 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
# kinda tight
set-option -g default-shell $SHELL
# look good
set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",*256col*:Tc"
# act like GNU screen
unbind C-b
set -g prefix C-a
# act like vim
setw -g mode-keys vi
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind-key -r C-h select-window -t :-
bind-key -r C-l select-window -t :+
# renumber windows sequentially after closing any of them
set -g renumber-windows on
# minimal status bar - session name, window list, prefix indicator
set -g status-left '#S '
set -g status-left-length 20
set -g status-right '#{prefix_highlight}'
# increase scrollback lines
set -g history-limit 1000000
# default statusbar colors
set -g status-style fg=white,bg=default,bright
# default window title colors
set-window-option -g window-status-style fg=white,bg=default,dim
# active window title colors
set-window-option -g window-status-current-style fg=white,bg=default,bright
# command/message line colors
set -g message-style fg=white,bg=black,bright
set -sg escape-time 0
# tmux plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'roosta/tmux-fuzzback'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
# initialize TPM (keep this line at the very bottom)
run '~/.tmux/plugins/tpm/tpm'