Support colors and ~~strikethrough~~

This commit is contained in:
Doug Masiero 2025-05-15 17:32:56 -04:00
parent a75ab71064
commit 296d215a88

View File

@ -1,4 +1,4 @@
# Vim stuff
# Add vim functionality
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
@ -32,21 +32,14 @@ set -g @tmux_power_show_host false
set -g @tmux_power_show_session true
# Session options
set -g default-terminal "tmux-256color"
set -g terminal-overrides "xterm-256color:RGB"
set -a terminal-features "xterm*:strikethrough"
set -g default-terminal "tmux-256color" # Support 256 colors
set -g terminal-overrides "xterm-256color:RGB" # Support 256 colors
set -a terminal-features "xterm*:strikethrough" # Support ~~strikethrough~~
set -g base-index 1 # Start window numbering at 1
set -g history-limit 10000 # Increase scrollback buffer size
set -g repeat-time 1000 # Set repeat delay
set -g detach-on-destroy off # Prevent tmux from detaching when session is destroyed.
# The following colors are used as gradient colors
#set -g @tmux_power_g0 "#262626"
#set -g @tmux_power_g1 "#303030"
#set -g @tmux_power_g2 "#3a3a3a"
#set -g @tmux_power_g3 "#444444"
#set -g @tmux_power_g4 "#626262"
# Initialize TPM
run '~/.tmux/plugins/tpm/tpm'