Moving tmux to my own configurable setup instead of relying too much on plugins.

This commit is contained in:
Norm Rasmussen
2024-01-02 16:36:17 -05:00
parent 3e760c72c1
commit e302e1a133
29 changed files with 508 additions and 830 deletions

Submodule tmux/.config/tmux/plugins/tmux-powerline added at 25cf067040

View File

@ -1,9 +1,32 @@
set-environment -g PATH "/opt/homebrew/bin:/bin:/usr/bin"
set-window-option -g mode-keys vi
#set-option default-terminal "screen-256color"
set-option default-terminal "tmux-256color"
set-option -a terminal-overrides ",*256col*:RGB"
# Set up Variables
black='#000000'
white='#f8f8f2'
gray='#44475a'
dark_gray='#282a36'
light_purple='#bd93f9'
dark_purple='#6272a4'
cyan='#8be9fd'
green='#50fa7b'
orange='#ffb86c'
red='#ff5555'
pink='#ff79c6'
yellow='#f1fa8c'
active='#50fa7b'
nonactive='#6272a4'
left_sep=''
right_sep=''
set-window-option -g window-status-separator ''
set-window-option -g window-status-current-format "#[fg=${active},bg=${dark_gray}]${right_sep}#[fg=${black},bg=${active}] #I #W #[fg=${active},bg=${nonactive}]${left_sep}"
set-window-option -g window-status-format "#[fg=${white},bg=${nonactive}] #I #W#[fg=${nonactive},bg=${nonactive}]${left_sep}"
# set-window-option -g window-status-format "#[fg=${dark_gray}]${left_sep}"
# Standard Plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
@ -35,23 +58,7 @@ bind % split-window -h -c "#{pane_current_path}"
# Vim-Tmux-Navigator plugin/
set -g @plugin 'christoomey/vim-tmux-navigator'
# Dracula
set -g @plugin 'dracula/tmux'
set -g @dracula-plugins "git network-ping cpu-usage time"
set -g @dracula-show-powerline true
set -g @dracula-show-flags true
set -g @dracula-show-left-icon window
set -g @dracula-border-contrast true
set -g @dracula-ping-server "google.com"
set -g @dracula-ping-rate 5
set -g @dracula-cpu-usage-label " "
set -g @dracula-cpu-usage-colors "pink dark_gray"
set -g @dracula-git-show-current-symbol ✓
set -g @dracula-git-show-diff-symbol !
set -g @dracula-git-no-repo-message ⊚
set -g @dracula-show-timezone false
set -g @dracula-military-time true
set -g @plugin 'erikw/tmux-powerline'
# Initiazlie TMUX plugin manager - kept at bottom of file
run '~/.dotfiles/tmux/.config/tmux/plugins/tpm/tpm'