addet some tweaks

This commit is contained in:
pika 2025-03-27 13:05:01 +01:00
parent 01898f5cbf
commit 7dc0d3133a

View file

@ -5,6 +5,8 @@
# ─< Enable 256 color support for tmux >────────────────────────────────────────────────── # ─< Enable 256 color support for tmux >──────────────────────────────────────────────────
set-option -sa terminal-overrides ",xterm-256color*:Tc" set-option -sa terminal-overrides ",xterm-256color*:Tc"
set -s escape-time 3
# ─< Enable mouse support (for scrolling, resizing, etc.) >─────────────────────────────── # ─< Enable mouse support (for scrolling, resizing, etc.) >───────────────────────────────
set -g mouse on set -g mouse on
@ -15,9 +17,12 @@ unbind C-b
set -g prefix C-Space set -g prefix C-Space
bind C-Space send-prefix bind C-Space send-prefix
bind h copy-mode bind h copy-mode
set -g status-keys vi
# ─< set v for starting selection in copy mode >──────────────────────────────────────────
bind -T copy-mode-vi v send -X begin-selection bind -T copy-mode-vi v send -X begin-selection
# Reload tmux configuration without restarting tmux # ─< Reload tmux configuration without restarting tmux >──────────────────────────────────
bind r source-file ~/.tmux.conf \; display-message "Config reloaded!" bind r source-file ~/.tmux.conf \; display-message "Config reloaded!"
# ─< Use C-h and C-l to switch between panes >──────────────────────────────────────────── # ─< Use C-h and C-l to switch between panes >────────────────────────────────────────────
@ -40,16 +45,16 @@ set-option -g renumber-windows on
# set -g status-right '#{prefix_highlight} | 󰃭 %d.%m.%Y |  %H:%M' # set -g status-right '#{prefix_highlight} | 󰃭 %d.%m.%Y |  %H:%M'
# prompt to display when tmux prefix key is pressed # prompt to display when tmux prefix key is pressed
set -g @mode_indicator_prefix_prompt ' 󱙝 ' set -g @mode_indicator_prefix_prompt ' 󱙝 '
# prompt to display when tmux is in copy mode # prompt to display when tmux is in copy mode
set -g @mode_indicator_copy_prompt '  ' set -g @mode_indicator_copy_prompt '  '
# prompt to display when tmux has synchronized panes # prompt to display when tmux has synchronized panes
set -g @mode_indicator_sync_prompt '  ' set -g @mode_indicator_sync_prompt '  '
# prompt to display when tmux is in normal mode # prompt to display when tmux is in normal mode
set -g @mode_indicator_empty_prompt ' 󰊠 ' set -g @mode_indicator_empty_prompt ' 󰊠 '
# style values for prefix prompt # style values for prefix prompt
set -g @mode_indicator_prefix_mode_style 'bg=#fe8019,fg=#1d2021' set -g @mode_indicator_prefix_mode_style 'bg=#fe8019,fg=#1d2021'