feat: add templating for laptop dotfiles
This commit is contained in:
parent
caf6e25e43
commit
bdf7e407cb
21 changed files with 437 additions and 52 deletions
50
private_dot_config/private_tmux/private_tmux.conf.tmpl
Normal file
50
private_dot_config/private_tmux/private_tmux.conf.tmpl
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
set -g status on
|
||||
bind b last-window
|
||||
bind C-b last-window
|
||||
|
||||
bind | split-window -h -c "#{pane_current_path}"
|
||||
bind - split-window -v -c "#{pane_current_path}"
|
||||
unbind '"'
|
||||
unbind %
|
||||
|
||||
bind c new-window
|
||||
bind h select-pane -L
|
||||
bind j select-pane -D
|
||||
bind k select-pane -U
|
||||
bind l select-pane -R
|
||||
|
||||
set -g base-index 1
|
||||
setw -g pane-base-index 1
|
||||
|
||||
bind r source-file ~/.config/tmux/tmux.conf
|
||||
|
||||
set -g mouse on
|
||||
|
||||
set -g status on
|
||||
set -g status-style bg=black,fg=white
|
||||
set -g status-position top
|
||||
set -g status-interval 15
|
||||
set -g status-left-length 50
|
||||
set -g status-right-length 50
|
||||
set -g status-justify left
|
||||
|
||||
set -g status-left "#[fg=blue,bold]#S#[fg=brightblack] ⧽ "
|
||||
|
||||
{{- if has "phone" .class }}
|
||||
set -g status-right "#[fg=brightblack]⧼ %Y-%m-%d"
|
||||
{{- else }}
|
||||
set -g status-interval 1
|
||||
set -g status-right "#[fg=brightblack] ⧼ %H:%M:%S ⧼ %Y-%m-%d"
|
||||
{{- end }}
|
||||
|
||||
set -g window-status-format "#[fg=cyan]#I:#W#F"
|
||||
set -g window-status-current-format "#[fg=black,bg=cyan]#I#[fg=black,bg=cyan,nobold,noitalics,nounderscore]:#[fg=black,bg=cyan]#W#F"
|
||||
set -g window-status-separator " "
|
||||
|
||||
set -g pane-border-style bg=default,fg=brightblack
|
||||
set -g pane-active-border-style bg=default,fg=blue
|
||||
set -g display-panes-colour black
|
||||
set -g display-panes-active-colour brightblack
|
||||
setw -g clock-mode-colour cyan
|
||||
set -g message-style bg=black,fg=cyan,bold
|
||||
set -g message-command-style bg=black,fg=cyan,bold
|
||||
Loading…
Add table
Add a link
Reference in a new issue