From 6502fc6feb2b4aaafcbb8421892dc86aa7940432 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Thu, 20 Jun 2024 16:26:49 +0200 Subject: Update tmux --- tmux.conf | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) (limited to 'tmux.conf') diff --git a/tmux.conf b/tmux.conf index dff5a95..f7e6529 100644 --- a/tmux.conf +++ b/tmux.conf @@ -1,37 +1,25 @@ -# Set window titles +set -g default-terminal "screen-256color" set-window-option -g automatic-rename on set-option -g set-titles on +set-option -sg escape-time 10 +set-option -g mouse off +set-window-option -g mode-keys vi -# Leader key set -g prefix M-x - -# Send M+x to applications by pressing it twice bind M-x send-prefix -# Start windows number @1 Instead of @0 set -g base-index 1 set-window-option -g pane-base-index 1 - -# Renumber windows when closing set -g renumber-windows on -# Statusbar: purple bg and white fg. set -g status-bg '#480b8e' set -g status-fg '#ffffff' - -# Set inactive/active window styles. set -g window-status-current-format "#[fg=#ffffff]#[bg=#111111]#[fg=#ffffff]#[bg=#111111] #I:#W #[fg=#ffffff]#[bg=#111111]" set -g window-style 'bg=#222222' set -g window-active-style 'bg=#111111' -# Other settings -set-option -sg escape-time 10 -set-option -g mouse off -set-window-option -g mode-keys vi - -# Removes the double pressing. Fixes switching panes and pressing up right -# after switching panes. Must have! bind-key Up select-pane -U bind-key Down select-pane -D bind-key Left select-pane -L bind-key Right select-pane -R + -- cgit v1.2.3