[feature] disabled mouse in tmux
This commit is contained in:
parent
739365a8d4
commit
f76c0febde
@ -1,21 +1,17 @@
|
|||||||
# TPM plugins
|
# TPM plugins
|
||||||
set -g @plugin 'tmux-plugins/tpm'
|
set -g @plugin 'tmux-plugins/tpm'
|
||||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
|
||||||
run '~/.tmux/plugins/tpm/tpm'
|
run '~/.tmux/plugins/tpm/tpm'
|
||||||
|
|
||||||
# General
|
# General
|
||||||
set -g default-shell /bin/zsh
|
set -g default-shell /bin/zsh
|
||||||
set -g default-terminal 'tmux-256color'
|
set -g default-terminal 'tmux-256color'
|
||||||
set -g mouse on
|
set -g mouse off
|
||||||
set -g history-limit 10000
|
set -g history-limit 100
|
||||||
set -g base-index 1
|
set -g base-index 1
|
||||||
setw -g pane-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 mode-keys vi
|
||||||
set -g status-keys vi
|
set -g status-keys vi
|
||||||
|
|
||||||
|
|
||||||
# Unbind the default arrow keys
|
# Unbind the default arrow keys
|
||||||
unbind-key Up
|
unbind-key Up
|
||||||
unbind-key Down
|
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 -h
|
||||||
bind-key -n M-$ split-window -v
|
bind-key -n M-$ split-window -v
|
||||||
|
|
||||||
|
bind-key -n M-c new-window
|
||||||
|
|
||||||
# Prefix
|
# Prefix
|
||||||
unbind C-b
|
unbind C-b
|
||||||
set -g prefix C-a
|
set -g prefix C-a
|
||||||
@ -41,9 +39,7 @@ set -g status on
|
|||||||
set -g status-interval 5
|
set -g status-interval 5
|
||||||
set -g status-position bottom
|
set -g status-position bottom
|
||||||
set -g status-left "#[fg=white]#[fg=black,bg=cyan] #(whoami) #[fg=blue,bg=default] "
|
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-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 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-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]"
|
set -g window-status-current-format "#[fg=white,bg=black]#[fg=colour232,bg=yellow] #I #W #[fg=cyan,bg=default]"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user