From d6f72e60db9648bcc7f9f1f009fa412b07efb6b3 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 19 Jul 2019 03:06:32 +0300 Subject: [PATCH] .vimrc: Fix: `t_SR` is a latest addition --- .vimrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index 7613cfd..a5314d4 100644 --- a/.vimrc +++ b/.vimrc @@ -321,7 +321,9 @@ else " https://vim.fandom.com/wiki/Change_cursor_shape_in_different_modes let &t_EI.=WrapForScreenTmux("\e[2 q") "EI = NORMAL mode (ELSE) let &t_SI.=WrapForScreenTmux("\e[6 q") "SI = INSERT mode - let &t_SR.=WrapForScreenTmux("\e[4 q") "SR = REPLACE mode + if v:version >= 800 + let &t_SR.=WrapForScreenTmux("\e[4 q") "SR = REPLACE mode + endif "Cursor settings: " 1 -> blinking block -- 2.39.5