From f671dcdce90383b167ae2c2f7f167dc658cd396a Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Fri, 2 Aug 2019 22:41:24 -0400 Subject: [PATCH] vim: include "screen" in TERM's needing t_8f handling I recently modified my tmux.conf to export screen(-256color) and not tmux. This commit changes the regex to accept tmux, screen, and st. --- vim/vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/vimrc b/vim/vimrc index 724e79e..498f975 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -98,7 +98,7 @@ if exists("$DISPLAY") && colorscheme gruvbox " See :h xterm-true-color for tmux+termguicolors - if &term =~# '^tmux' || &term =~# '^st' + if &term =~# '^\(tmux\|st\|screen\)' let &t_8f = "\[38;2;%lu;%lu;%lum" let &t_8b = "\[48;2;%lu;%lu;%lum" endif -- libgit2 0.28.4