This commit is contained in:
Andrew Haynes
2026-03-10 12:09:51 -04:00
parent 6fcba0c4ab
commit 89bc50163e
4 changed files with 69 additions and 17 deletions
+21 -8
View File
@@ -1,17 +1,28 @@
unbind C-x
set -g prefix M-,
bind M-, send-prefix
# unbind C-x
unbind M-,
set -g prefix C-Space
bind C-Space send-prefix
set -g focus-events on
# set -g default-terminal "screen-256color"
set -ga terminal-features ',xterm-ghostty:RGB'
set-option -g default-shell $SHELL
# set -ga terminal-features ',xterm-ghostty:RGB'
# macOS specific (Ghostty)
if-shell '[[ $(uname) == "Darwin" ]]' {
set -ga terminal-features ',xterm-ghostty:RGB'
set -as terminal-overrides ',xterm-ghostty:Tc'
}
set -g status-style 'fg=#ff757f bg=default'
# Linux specific (Foot)
if-shell '[[ $(uname) == "Linux" ]]' {
set -ga terminal-features ',foot:RGB'
set -as terminal-overrides ',foot:Tc'
}
set-option -g default-shell $SHELL
set -g status-style 'fg=#c3e88d bg=#1b1d2b'
set -g status-left-length 100
set -g status-right-length 20
set -g status-left "#[fg=#828bb8, bold] #S #[fg=#828bb8,nobold]- "
set -g status-right "#[fg=#ff757f] %m-%d-%Y #[fg=#828bb8] %H:%M"
set -g status-left "#[fg=#ffc777, bold] [#S] #[fg=#ffc777,nobold]~ "
set -g status-right "#[fg=#c3e88d] %m-%d-%Y #[fg=#ffc777] %H:%M "
set -g base-index 1
set -g pane-base-index 1
@@ -21,6 +32,8 @@ set -g set-clipboard on
set -s escape-time 0
set -g status-position top
bind-key h previous-window
bind-key l next-window
bind -r f run-shell "tmux neww ~/.local/bin/tmux-windowizer"
bind -r v run-shell "tmux neww ~/.local/bin/tmux-sessionizer"
bind-key z resize-pane -Z