/
.tmux.conf
80 lines (58 loc) · 2.22 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
unbind r
bind r source-file ~/.tmux.conf
set -g prefix C-s
set -g mouse on
#act like vim
setw -g mode-keys vi
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 -g base-index 1
set -g pane-base-index 1
set-window-option -g pane-base-index 1
set-option -g renumber-windows on
bind -n M-H previous-window
bind -n M-L next-window
bind '"' split-window -v -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
set -s escape-time 0
set -g status-position bottom
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",xterm-256color:RGB"
set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' # undercurl support
set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # underscore colours - needs tmux-3.0
# set -g @plugin 'dracula/tmux'
# set -g @dracula-show-powerline true
# set -g @dracula-fixed-location "London"
# set -g @dracula-plugins "weather"
# set -g @dracula-show-fahrenheit false
# set -g @dracula-show-flags true
# set -g @dracula-show-left-icon session
set -g status-bg black
set -g status-fg white
# set -g status-justify centre
set -g status-justify left
# Set the style for the active window
set -g window-status-current-style 'bg=blue,fg=black'
# Optional: Set the style for inactive windows
set -g window-status-style 'bg=default,fg=color240'
# Optional: Format for the active and inactive windows
set -g window-status-current-format " #I: #W "
set -g window-status-format " #I: #W "
set -g status-left-length 20
set -g status-right-length 20
set -g status-right "#[fg=gray]#S "
# set -g status-left " "
set -g status-left ""
# Set the color of the inactive pane border
set -g pane-border-style 'fg=colour239,bg=default' # Example color
# Set the color of the active pane border
set -g pane-active-border-style 'fg=colour239,bg=default' # Example color
bind -T copy-mode-vi v send -X begin-selection
bind -T copy-mode-vi V send -X select-line
bind -T copy-mode-vi y send -X copy-pipe-and-cancel 'xclip -in -selection clipboard'
run '~/.tmux/plugins/tpm/tpm'