58 lines
1.7 KiB
Cheetah
58 lines
1.7 KiB
Cheetah
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-window-option -g mode-keys vi
|
|
bind -Tcopy-mode-vi 'v' send -X begin-selection
|
|
bind -Tcopy-mode-vi 'y' send -X copy-selection-and-cancel
|
|
|
|
set -g status on
|
|
set -g status-style bg=colour235,fg=brightblack
|
|
set -g status-left-length 50
|
|
set -g status-right-length 50
|
|
|
|
{{- if has "phone" .class }}
|
|
set -g status-position top
|
|
set -g status-justify left
|
|
set -g status-interval 15
|
|
set -g status-left "#[fg=blue,bold]#S#[fg=brightblack,bg=colour235] ⧽ "
|
|
set -g status-right "#[fg=brightblack,bg=colour235]⧼ %Y-%m-%d"
|
|
{{- else }}
|
|
set -g status-position bottom
|
|
set -g status-justify centre
|
|
set -g status-interval 1
|
|
set -g status-left "#[fg=colour33,bg=colour235] #h ⧽ "
|
|
set -g status-right "#[bg=colour235,fg=colour136] ⧼ %a ⧼ %H:%M:%S ⧼ %Y-%m-%d "
|
|
|
|
set -g default-command fish
|
|
{{- 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
|