Add .tmux.conf

This commit is contained in:
cubernetes 2023-07-26 01:13:50 +02:00
parent ab657545d6
commit d6eaaeea60
1 changed files with 29 additions and 0 deletions

29
.tmux.conf Normal file
View File

@ -0,0 +1,29 @@
set -g default-command "/usr/bin/bash"
# Support mouse scrolling, system clipboard, etc.
set -g mouse on
# CTRL-A instead of CTRL-B as prefix
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# Necessary for the styling!
setw -g pane-base-index 1
set -g base-index 1
# Styling
set -g default-terminal "screen-256color"
set -g status-style bg=#3c3836,fg=#a89984
set -g status-left "#[bg=#fb4934,fg=#3c3836]  #{session_name} #[bg=#fe8019,fg=#fb4943]#[bg=#504945,fg=#fe8019]"
set -g window-status-format "#[bg=#504945] #{window_index}-#{window_name} #{?#{==:#{window_index},#{session_windows}},#[bg=#3c3836 fg=#504945],}"
set -g window-status-current-format "#[bg=#a89984,fg=#504945]#[fg=#282828] #{window_index}-#{window_name} #[bg=#504945,fg=#a89984]#{?#{==:#{window_index},#{session_windows}},#[bg=#3c3836],}"
set -g window-status-separator ""
set -g status-right "#(pwd) #[fg=#504945]#[bg=#504945,fg=#a89984] #(whoami)  #[bg=#a89984,fg=#282828] #{host_short} 󰍹 #[bg=#a89984,fg=#fe8019]#[bg=#fe8019,fg=#fb4934]#[bg=#fb4934,fg=#3c3836] #(date +%H:%M) "
set -g status-right-length 500
set -g status-interval 1
set -g pane-base-index 1
set -g pane-border-format "#{?pane_active,#[fg=#3c3836 bg=#fb4934] #{pane_index}-#{pane_current_command} #[fg=#fb4934 bg=default], #{pane_index}-#{pane_current_command} }"
set -g pane-border-status 'top'
set -g pane-border-style fg=#fb4934
set -g pane-active-border-style fg=#fb4934