Changing up the tmux config and terminal settings a little.

This commit is contained in:
Finch 2025-03-01 13:58:56 -06:00
parent 454a32e8de
commit e72b5fff60
2 changed files with 9 additions and 10 deletions

View File

@ -1,6 +1,5 @@
# True color support # True color support
set -g default-terminal "xterm-256color" set -g default-terminal "xterm-256color"
set -ga terminal-overrides ",alacritty:Tc"
# Set encoding to Unicode8 # Set encoding to Unicode8
setw -gq utf8 on setw -gq utf8 on
@ -8,9 +7,6 @@ setw -gq utf8 on
# Allow mouse interactions # Allow mouse interactions
set -g mouse on set -g mouse on
# Disallow auto-renaming of windows
set-option -g allow-rename off
# Bindings # Bindings
## More comfortable prefix binding ## More comfortable prefix binding
unbind C-b unbind C-b
@ -19,6 +15,8 @@ set-option -g prefix C-Space
## More natural window splits ## More natural window splits
bind \\ split-window -h -c "#{pane_current_path}" bind \\ split-window -h -c "#{pane_current_path}"
bind - split-window -v -c "#{pane_current_path}" bind - split-window -v -c "#{pane_current_path}"
bind -n C-M-\\ split-window -h -c "#{pane_current_path}"
bind -n C-M-- split-window -v -c "#{pane_current_path}"
unbind '"' unbind '"'
unbind % unbind %
@ -29,8 +27,8 @@ bind -n C-M-k select-pane -U
bind -n C-M-l select-pane -R bind -n C-M-l select-pane -R
## Quick jump between windows like buffers in nvim ## Quick jump between windows like buffers in nvim
bind -n M-H previous-window bind -n M-h previous-window
bind -n M-L next-window bind -n M-l next-window
## Reload the config while inside of tmux ## Reload the config while inside of tmux
bind r source-file ~/.tmux.conf bind r source-file ~/.tmux.conf
@ -42,6 +40,6 @@ set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'egel/tmux-gruvbox' set -g @plugin 'egel/tmux-gruvbox'
# Plugin settings # Plugin settings
set -g @tmux-gruvbox 'dark-transparent' # set -g @tmux-gruvbox 'dark-transparent'
run '~/.tmux/plugins/tpm/tpm' run '~/.tmux/plugins/tpm/tpm'

View File

@ -9,6 +9,7 @@ local success, stdout, _ = wezterm.run_child_process({
"org.gnome.desktop.interface", "org.gnome.desktop.interface",
"cursor-theme" "cursor-theme"
}) })
if success then if success then
xcursor_theme = stdout:gsub("'(.+)'\n", "%1") xcursor_theme = stdout:gsub("'(.+)'\n", "%1")
end end
@ -29,10 +30,10 @@ local config = wezterm.config_builder()
config.color_scheme = 's3r0 modified (terminal.sexy)' config.color_scheme = 's3r0 modified (terminal.sexy)'
-- config.color_scheme = 'Mashup Colors (terminal.sexy)' -- config.color_scheme = 'Mashup Colors (terminal.sexy)'
-- config.color_scheme = 'Gruvbox dark, pale (base16)' -- config.color_scheme = 'Gruvbox dark, pale (base16)'
config.color_scheme = 'Gruvbox Material (Gogh)' -- config.color_scheme = 'Gruvbox Material (Gogh)'
config.font = wezterm.font 'Inconsolata Nerd Font Mono' config.font = wezterm.font 'Inconsolata Nerd Font Mono'
config.font_size = 12.5 config.font_size = 12
config.enable_tab_bar = false config.enable_tab_bar = false
config.window_close_confirmation = 'NeverPrompt' config.window_close_confirmation = 'NeverPrompt'
config.window_padding = { config.window_padding = {
@ -42,7 +43,7 @@ config.window_padding = {
bottom = '0' bottom = '0'
} }
config.window_background_opacity = 0.97 -- config.window_background_opacity = 0.9
config.xcursor_theme = xcursor_theme config.xcursor_theme = xcursor_theme
config.xcursor_size = xcursor_size config.xcursor_size = xcursor_size