-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_tmux.conf
50 lines (46 loc) · 2.29 KB
/
dot_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
set -g prefix C-a
bind-key C-a select-pane -t :.+
bind-key C-h previous-window
bind-key C-l next-window
bind-key C-f last-window
bind-key C-i split-window -h
bind-key C-u split-window -v
bind-key C-s new-window
bind-key C-b setw synchronize-panes
# vim like pane movement
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
set-option -g allow-rename off
set-option -g history-limit 8000
set -sg escape-time 50
# vim bindings for copy-mode
set-window-option -g mode-keys vi
# navi
bind-key -T prefix g split-window -v -l 10 "$SHELL -i -c 'navi --print | tmux load-buffer -b tmp - ; tmux paste-buffer -p -t {last} -b tmp -d -s\\ '"
# more colors
set -g default-terminal "screen-256color"
set -ga terminal-overrides ",*256col*:Tc"
# Nightfox colors for Tmux
# Style: nightfox
# Upstream: https://github.com/EdenEast/nightfox.nvim/blob/main/extra/nightfox/nightfox_tmux.tmux
set -g mode-style "fg=#131a24,bg=#aeafb0"
set -g message-style "fg=#131a24,bg=#aeafb0"
set -g message-command-style "fg=#131a24,bg=#aeafb0"
set -g pane-border-style "fg=#aeafb0"
set -g pane-active-border-style "fg=#719cd6"
set -g status "on"
set -g status-justify "left"
set -g status-style "fg=#aeafb0,bg=#131a24"
set -g status-left-length "20"
set -g status-right-length "100"
set -g status-left-style NONE
set -g status-right-style NONE
set -g status-left "#[fg=#131a24,bg=#719cd6,bold] #S #[fg=#719cd6,bg=#131a24,nobold,nounderscore,noitalics] "
set -g status-right "#[fg=#131a24,bg=#131a24,nobold,nounderscore,noitalics]#[fg=#719cd6,bg=#131a26] #{?pane_synchronized, SYNC ,}#{?client_prefix, PREFIX ,}#[fg=#aeafb6,bg=#131a24,nobold,nounderscore,noitalics]#[fg=#131a24,bg=#aeafb0] %a %Y-%m-%d %H:%M #[fg=#719cd6,bg=#aeafb0,nobold,nounderscore,noitalics]#[fg=#131a24,bg=#719cd6,bold] #H "
setw -g window-status-activity-style "underscore,fg=#71839b,bg=#131a24"
setw -g window-status-separator ""
setw -g window-status-style "NONE,fg=#71839b,bg=#131a24"
setw -g window-status-format "#[default] #I #W #F #[fg=#131a24,bg=#131a24,nobold,nounderscore,noitalics]"
setw -g window-status-current-format "#[fg=#132a24,bg=#aeafb0,bold] #I #W #F #[fg=#aeafb0,bg=#131a24,nobold,nounderscore,noitalics]"