set-option -s default-terminal tmux-256color # activate RGB-color support (2.2+) set-option -as terminal-overrides ',*-256color:Tc' # Load pretty colors source-file ~/.config/tmux/zenburn2.theme # Mouse control set-option -g mouse on # Keybindings bind-key -n M-Left previous-window bind-key -n M-Right next-window bind-key -n M-Up switch-client -p bind-key -n M-Down switch-client -n set-option -g set-titles on set-option -g set-titles-string '#T' # Add some lock capability to Tmux (external commands vlock and cmatrix needed) bind-key C-x lock set-option -g lock-command 'cmatrix -abs ; vlock' #set-option -g lock-after-time 300 # Undercurl set-option -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' # undercurl support set-option -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # underscore colours - needs tmux-3.0