updated tmux conf with various mods, updated foot conf with nord theme, added foot theme nord to dotfile

This commit is contained in:
Mike G 2024-09-11 20:51:42 -04:00
parent 3900933231
commit 6833c1d99f
3 changed files with 71 additions and 14 deletions

View file

@ -1,6 +1,9 @@
# set 256color
# set -g default-terminal "tmux-256color"
# set default shell
set-option -g default-shell "/usr/bin/fish"
# change update interval from default of 15
set -g status-interval 1
@ -11,7 +14,7 @@ set-option -sg escape-time 10
set-option -g focus-events on
# set term gui colors per nvim health check
set -sa terminal-overrides ",alacritty:Tc"
#set -sa terminal-overrides ",alacritty:Tc"
# start windows and panes numbering at 1 instead of the default 0
set -g base-index 1
@ -23,11 +26,11 @@ set -g mouse on
# change command prefix from C-b to C-a
set-option -g prefix C-a
# turn off auto window name (may use more CPU)
setw -g automatic-rename off
# auto window name (may use more CPU)
setw -g automatic-rename on
# customized key bindings
bind r source-file ~/.tmux.conf # reload tmux conf with r
bind r source-file ~/.config/tmux/tmux.conf # reload tmux conf with r
bind | split-window -h # use | for horizontal spli
bind - split-window -v # use - for vertical split
unbind '"' # unbind default horizontal split key
@ -40,21 +43,22 @@ bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
# pane settings
set -g pane-border-style fg=red
set -g pane-active-border-style fg=yellow
#set -g pane-border-style fg=red
#set -g pane-active-border-style fg=yellow
# set -g pane-border-status top
# set -g pane-border-format "[ #P ]"
# status line
set -g status-position top # set bar to top
set -g status-justify centre # center window list
set -g window-status-current-style 'bold' # set current window name to bold
set -g status-bg color7 # set bar default background color
set -g status-fg color234 # set bar default foreground color
#set -g status-position top # set bar to top
#set -g status-justify centre # center window list
#set -g window-status-current-style 'bold' # set current window name to bold
#set -g status-bg color7 # set bar default background color
#set -g status-fg color234 # set bar default foreground color
# define left status content
# sets color to green, skull icon, session in brackets, change color back to defaultr
set -g status-left " 💀 [ #S ] "
set -g status-right " 📆 %a %d 🕓%l:%M:%S %P "
#set -g status-left " 💀 [ #S ] "
#set -g status-right " 📆 %a %d 🕓%l:%M:%S %P "
set -g status-right '#{prefix_highlight} | %a %Y-%m-%d %H:%M'
# Set vi keys
set -g mode-keys vi
@ -64,5 +68,13 @@ set -g status-keys vi
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# Nord Theme Plugin
set -g @plugin 'arcticicestudio/nord-tmux'
# other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin 'git@github.com/user/plugin'
# set -g @plugin 'git@bitbucket.com/user/plugin'
# initialize TMUX plugin manager (keep this line at the bottom)
run '~/.tmux/plugins/tpm/tpm'