From: Oleg Broytman Date: Fri, 19 Jul 2019 00:06:32 +0000 (+0300) Subject: .vimrc: Fix: `t_SR` is a latest addition X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=d6f72e60db9648bcc7f9f1f009fa412b07efb6b3;p=dotfiles.git .vimrc: Fix: `t_SR` is a latest addition --- 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