[feature] disabled mouse in tmux

This commit is contained in:
Abdellah El Morabit 2025-11-12 14:13:46 +01:00
parent 739365a8d4
commit f76c0febde

View File

@ -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]"