-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux.conf
37 lines (34 loc) · 1.94 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
# This tmux statusbar config was created by tmuxline.vim
# on Tue, 07 May 2024
set -g status-justify "left"
set -g status "on"
set -g status-left-style "none"
set -g message-command-style "fg=#e8e6df,bg=#515151"
set -g status-right-style "none"
set -g pane-active-border-style "fg=#99cc99"
set -g status-style "none,bg=#393939"
set -g message-style "fg=#e8e6df,bg=#515151"
set -g pane-border-style "fg=#515151"
set -g status-right-length "100"
set -g status-left-length "100"
setw -g window-status-activity-style "none"
setw -g window-status-separator ""
setw -g window-status-style "none,fg=#f99157,bg=#393939"
set -g status-left "#[fg=#393939,bg=#99cc99] #h #[fg=#99cc99,bg=#393939,nobold,nounderscore,noitalics]"
set -g status-right "#[fg=#515151,bg=#393939,nobold,nounderscore,noitalics]#[fg=#e8e6df,bg=#515151] %R %Z #[fg=#99cc99,bg=#515151,nobold,nounderscore,noitalics]#[fg=#393939,bg=#99cc99] %a #(date -u '+%%m/%%d %%H:%%M') UTC "
setw -g window-status-format "#[fg=#fd971f,bg=#383830] #I #[fg=#fd971f,bg=#383830] #W "
setw -g window-status-current-format "#[fg=#383830,bg=#49483e,nobold,nounderscore,noitalics]#[fg=#f5f4f1,bg=#49483e] #I #[fg=#f5f4f1,bg=#49483e] #W #[fg=#49483e,bg=#383830,nobold,nounderscore,noitalics]"
# custom changes
set-option -g history-limit 20000
set -g mouse on
set-option -sg escape-time 10 # makes vim more responsive
set -g default-terminal "xterm-256color"
# for true colors
#set-option -sa terminal-overrides ',XXX:RGB'
if-shell 'uname | grep --quiet Linux' 'bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "xclip -in -selection clipboard"'
if-shell 'uname | grep --quiet Darwin' 'bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "pbcopy"'
# https://unix.stackexchange.com/questions/12032/how-to-create-a-new-window-on-the-current-directory-in-tmux
# -h means horizontal split
# -c <start_directory>
bind % split-window -h -c "#{pane_current_path}"
bind '"' split-window -c "#{pane_current_path}"