update tmux config

This commit is contained in:
2026-02-10 02:38:15 +02:00
parent 7e86cadab1
commit ac43db9769
2 changed files with 20 additions and 5 deletions

View File

@@ -0,0 +1,2 @@
source "$HOME/.turso/env.fish"

View File

@@ -1,6 +1,14 @@
set -g default-terminal "tmux-256color"
set -g default-terminal "tmux-direct" # tmux-direct - modern alternative to tmux-256colors, giving full 24bit for colors instead of only 256 positions
set -ga terminal-overrides ",*256col*:Tc" # enable true color support
set -s escape-time 0
set -g base-index 1
set -g renumber-windows on
set -g display-time 2000 # msg display time - in ms
set -g status-style "bg=black"
set -ag status-style "fg=green"
set -g history-limit 50000
set -g status-interval 5
set -g focus-events on
unbind C-b
set-option -g prefix C-a
@@ -14,7 +22,12 @@ bind-key a send-prefix
bind r source-file $HOME/.config/tmux/tmux.conf \; display-message "tmux.conf reloaded"
bind -r h select-pane -L
bind -r j select-pane -D
bind -r k select-pane -U
bind -r l select-pane -R
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind \\ split-window -h -c "#{pane_current_path}"
bind - split-window -v -c "#{pane_current_path}"
unbind '"'
unbind %