From ac43db9769301633012f43fc9588e3ec864b3a35 Mon Sep 17 00:00:00 2001 From: dxrkness Date: Tue, 10 Feb 2026 02:38:15 +0200 Subject: [PATCH] update tmux config --- fish/conf.d/turso_cli.env.fish | 2 ++ tmux/tmux.conf | 23 ++++++++++++++++++----- 2 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 fish/conf.d/turso_cli.env.fish diff --git a/fish/conf.d/turso_cli.env.fish b/fish/conf.d/turso_cli.env.fish new file mode 100644 index 0000000..ec660bc --- /dev/null +++ b/fish/conf.d/turso_cli.env.fish @@ -0,0 +1,2 @@ + +source "$HOME/.turso/env.fish" diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 2eacec3..7ffbd36 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -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 %