[tmux] tmux-sensible
change xoqnzvrlpzpppltqlxrulquwztruoltu
commit 553632652c0723cc773af6a4cb3c0b89e1736a5a
author Alpha Chen <alpha@kejadlen.dev>
date
parent bcf5d841
diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf
index 27b3420d..1be56f40 100644
--- a/.config/tmux/tmux.conf
+++ b/.config/tmux/tmux.conf
@@ -6,12 +6,6 @@ set -g default-terminal "tmux-256color"
 # RGB color: https://github.com/tmux/tmux/wiki/FAQ#how-do-i-use-rgb-colour
 set -as terminal-features ",gnome*:RGB"
 
-## messages
-set-option -g display-time 3000
-
-## scrollback buffer
-set-option -g history-limit 10000
-
 ## window notifications
 set-option -g visual-activity on
 set-window-option -g monitor-activity off
@@ -39,12 +33,10 @@ set -g pane-border-style "bg=#333333"
 set -g pane-border-status top
 set -g pane-border-format ' #{pane_current_command} '
 
-set focus-events on
 set-hook -g pane-focus-out 'select-pane -P bg=#333333,fg=default'
 set-hook -g pane-focus-in 'select-pane -P bg=default,fg=default'
 
 # statusline (shamelessly stolen from powerline)
-set-option -g status-interval 2
 set-option -g status-left "#{?client_prefix,#[fg=color254]#[bg=color31]#[bold]#[noitalics]#[nounderscore],#[fg=color232]#[bg=color254]#[bold]#[noitalics]#[nounderscore]} #S #{?client_prefix,#[fg=color31],#[fg=color254]}#[bg=terminal]#[nobold] "
 set-option -g status-left-length 20
 set-option -g status-right ""
@@ -59,7 +51,6 @@ set-option -g window-status-style fg=color249,bg=terminal
 
 ## etc
 set-window-option -g mode-keys vi
-set-option -sg escape-time 1 # increase vim responsiveness
 set-option -g base-index 1
 set-option -ga terminal-features "*:hyperlinks" # osc 8
 
@@ -119,10 +110,9 @@ bind -Troot C-g switch-client -Tfzf-git
 
 bind C-y run -b ~/.dotfiles/bin/,tmux-copy
 
-bind r source-file ~/.config/tmux/tmux.conf \; display 'Reloaded tmux.conf'
-
 if-shell "[[ -e ~/.config/tmux/tmux.conf.local ]]" "source-file ~/.config/tmux/tmux.conf.local"
 
 set -g @plugin 'tmux-plugins/tpm'
+set -g @plugin 'tmux-plugins/tmux-sensible'
 
 run '~/.config/tmux/plugins/tpm/tpm'
diff --git a/.gitignore b/.gitignore
index e1b0e79d..6020a4a0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -25,6 +25,7 @@ private
 !.config/starship
 !.config/starship.toml
 !.config/tmux
+.config/tmux/plugins
 !.config/tridactyl
 !.config/wezterm
 !.config/yabai