]> git.phdru.name Git - dotfiles.git/blobdiff - .tmux.conf
Update configs after upgrading to Debian 9 "stretch"
[dotfiles.git] / .tmux.conf
index c88fd3b83693cee9f610a3fb17edcfed4eb185ff..72b57b5e6b7d94d09c99e813d0dcfb7d344f2148 100644 (file)
@@ -8,13 +8,12 @@ set-option -g renumber-windows on
 set-window-option -g mode-keys vi
 # Pass [Ctrl]+[PgUp/PgDn]
 set-window-option -g xterm-keys on
+# Don't wait for [Esc] to allow fast switching from insert mode to normal in vim
+# Set (and export) environment variable SLOWTERM to override.
+if-shell "test -z $SLOWTERM" "set-option -gs escape-time 0"
 
 # Mouse
-set-window-option -g mode-mouse on
-set-option -g mouse-select-pane on
-set-option -g mouse-resize-pane on
-# Mouse can be used to select windows (by clicking in the status bar)
-set-option -g mouse-select-window on
+#set-option -g mouse on
 
 # Rather than constraining window size to the maximum size of any client
 # connected to the *session*, constrain window size to the maximum size of any
@@ -45,7 +44,6 @@ set-window-option -g mode-style bg=black
 
 set-window-option -g window-status-activity-style fg=yellow
 set-window-option -g window-status-bell-style fg=red
-set-window-option -g window-status-content-style fg=magenta
 set-window-option -g window-status-current-style bg=blue,fg=white
 set-window-option -g window-status-style bg=cyan,fg=black