dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | Submodules | README

commit f671dcdce90383b167ae2c2f7f167dc658cd396a (patch)
parent 91660c39f6ea528900c0eebe4b9ee4e41421a1a8
Author: Alex Karle <alex@karle.co>
Date:   Fri,  2 Aug 2019 22:41:24 -0400

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.

Diffstat:
Mvim/vimrc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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 = "\<Esc>[38;2;%lu;%lu;%lum" let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum" endif