From 2e10f2350efe476765d3cc4c337834f2133ff652 Mon Sep 17 00:00:00 2001 From: Yax Date: Fri, 24 Apr 2026 18:00:01 +0200 Subject: [PATCH] Clean tmux --- dot_tmux.conf.tmpl | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/dot_tmux.conf.tmpl b/dot_tmux.conf.tmpl index eaf0a1d..1cc6de7 100644 --- a/dot_tmux.conf.tmpl +++ b/dot_tmux.conf.tmpl @@ -2,7 +2,7 @@ # # address vim mode switching delay (http://superuser.com/a/252717/65504) -set -s escape-time 50 +set -s escape-time 5 # increase scrollback buffer size set -g history-limit 50000 @@ -54,17 +54,13 @@ setw -g monitor-activity on setw -g visual-activity on # Auto rename -set-option -g automatic-rename on +set-option -g automatic-rename on set-option -g automatic-rename-format '#{b;s/{{ .username }}/~/:pane_current_path}' # Allows us to use C-a a [command] to send commands to a TMUX session inside # another TMUX session bind-key a send-prefix -# Activity monitoring -setw -g monitor-activity on -set -g visual-activity on - # don't exit from tmux when closing a session set -g detach-on-destroy off @@ -88,15 +84,10 @@ set-window-option -g mode-keys vi bind Enter copy-mode # enter copy mode -run -b 'tmux bind -t vi-copy v begin-selection 2> /dev/null || true' run -b 'tmux bind -T copy-mode-vi v send -X begin-selection 2> /dev/null || true' -run -b 'tmux bind -t vi-copy C-v rectangle-toggle 2> /dev/null || true' run -b 'tmux bind -T copy-mode-vi C-v send -X rectangle-toggle 2> /dev/null || true' -run -b 'tmux bind -t vi-copy y copy-selection 2> /dev/null || true' run -b 'tmux bind -T copy-mode-vi y send -X copy-selection-and-cancel 2> /dev/null || true' -run -b 'tmux bind -t vi-copy Escape cancel 2> /dev/null || true' run -b 'tmux bind -T copy-mode-vi Escape send -X cancel 2> /dev/null || true' -run -b 'tmux bind -t vi-copy H start-of-line 2> /dev/null || true' run -b 'tmux bind -T copy-mode-vi L send -X end-of-line 2> /dev/null || true' # Move windows on the left (/) or on the right (*)