From f76c0febde5b9589c7b56b3b64434f3efe40b193 Mon Sep 17 00:00:00 2001 From: Abdellah El Morabit Date: Wed, 12 Nov 2025 14:13:46 +0100 Subject: [PATCH] [feature] disabled mouse in tmux --- tmux/tmux.conf | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/tmux/tmux.conf b/tmux/tmux.conf index ae6333f..f55db74 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -1,21 +1,17 @@ # TPM plugins set -g @plugin 'tmux-plugins/tpm' -set -g @plugin 'tmux-plugins/tmux-sensible' run '~/.tmux/plugins/tpm/tpm' # General set -g default-shell /bin/zsh set -g default-terminal 'tmux-256color' -set -g mouse on -set -g history-limit 10000 +set -g mouse off +set -g history-limit 100 set -g base-index 1 setw -g pane-base-index 1 -set -g escape-time 10 -set -g repeat-time 500 set -g mode-keys vi set -g status-keys vi - # Unbind the default arrow keys unbind-key Up unbind-key Down @@ -31,6 +27,8 @@ bind-key -n M-l select-pane -R bind-key -n M-ù split-window -h bind-key -n M-$ split-window -v +bind-key -n M-c new-window + # Prefix unbind C-b set -g prefix C-a @@ -41,9 +39,7 @@ set -g status on set -g status-interval 5 set -g status-position bottom set -g status-left "#[fg=white]#[fg=black,bg=cyan] #(whoami) #[fg=blue,bg=default] " - set -g status-right "#[fg=cyan,bg=default]#[fg=black,bg=cyan] #(hostname)  %H:%M #[fg=cyan,bg=default]" - set -g status-style bg=default,fg=white set -g window-status-format "#[fg=white]#[fg=black bg=cyan] #I  #W #[fg=blue, bg=default]" set -g window-status-current-format "#[fg=white,bg=black]#[fg=colour232,bg=yellow] #I  #W #[fg=cyan,bg=default]"