Add some settings to improve things in tmux

This commit is contained in:
Kevin MacMartin 2023-05-30 13:56:36 -04:00
parent ca8c64dd30
commit eb3237dbe4
2 changed files with 4 additions and 0 deletions

View file

@ -26,6 +26,7 @@ bind Space send-prefix
# #
# general # general
set-option -g default-terminal "tmux-256color" #set $TERM variable so programs know how to behave set-option -g default-terminal "tmux-256color" #set $TERM variable so programs know how to behave
set-option -sa terminal-features ',xterm-256color:RGB'
set-option -g base-index 1 #start counting windows at 1 instead of 0 (for more logical keboard-switching) set-option -g base-index 1 #start counting windows at 1 instead of 0 (for more logical keboard-switching)
set-option -g pane-base-index 1 #start counting panes at 1 instead of 0 set-option -g pane-base-index 1 #start counting panes at 1 instead of 0
set-option -g renumber-windows on #when a window is closed, renumber the remaining windows set-option -g renumber-windows on #when a window is closed, renumber the remaining windows
@ -36,6 +37,7 @@ set-option -g display-time 2000 #number of ms for status line messages and other
set-option -g display-panes-time 2000 #number of ms to show indicators from the display-panes command set-option -g display-panes-time 2000 #number of ms to show indicators from the display-panes command
set-option -sg escape-time 0 #allow commands immediately following send-prefix set-option -sg escape-time 0 #allow commands immediately following send-prefix
set-option -sg repeat-time 600 #allow 600ms between repeatable commands set-option -sg repeat-time 600 #allow 600ms between repeatable commands
set-option -g focus-events on
set-window-option -g aggressive-resize on #only resize a window if a smaller client is actively looking set-window-option -g aggressive-resize on #only resize a window if a smaller client is actively looking
set-window-option -g monitor-activity on #monitor for activity in windows set-window-option -g monitor-activity on #monitor for activity in windows
set-window-option -g visual-activity off #show the activity being monitored for in the status bar set-window-option -g visual-activity off #show the activity being monitored for in the status bar

View file

@ -26,6 +26,7 @@ bind Space send-prefix
# #
# general # general
set-option -g default-terminal "tmux-256color" #set $TERM variable so programs know how to behave set-option -g default-terminal "tmux-256color" #set $TERM variable so programs know how to behave
set-option -sa terminal-features ',xterm-256color:RGB'
set-option -g base-index 1 #start counting windows at 1 instead of 0 (for more logical keboard-switching) set-option -g base-index 1 #start counting windows at 1 instead of 0 (for more logical keboard-switching)
set-option -g pane-base-index 1 #start counting panes at 1 instead of 0 set-option -g pane-base-index 1 #start counting panes at 1 instead of 0
set-option -g renumber-windows on #when a window is closed, renumber the remaining windows set-option -g renumber-windows on #when a window is closed, renumber the remaining windows
@ -36,6 +37,7 @@ set-option -g display-time 2000 #number of ms for status line messages and other
set-option -g display-panes-time 2000 #number of ms to show indicators from the display-panes command set-option -g display-panes-time 2000 #number of ms to show indicators from the display-panes command
set-option -sg escape-time 0 #allow commands immediately following send-prefix set-option -sg escape-time 0 #allow commands immediately following send-prefix
set-option -sg repeat-time 600 #allow 600ms between repeatable commands set-option -sg repeat-time 600 #allow 600ms between repeatable commands
set-option -g focus-events on
set-window-option -g aggressive-resize on #only resize a window if a smaller client is actively looking set-window-option -g aggressive-resize on #only resize a window if a smaller client is actively looking
set-window-option -g monitor-activity on #monitor for activity in windows set-window-option -g monitor-activity on #monitor for activity in windows
set-window-option -g visual-activity off #show the activity being monitored for in the status bar set-window-option -g visual-activity off #show the activity being monitored for in the status bar