Download:
child 248:feaf2a7bd655
parent 246:af09affab9df
247:2224cc881f54
Anton Shestakov <av6@dwimlabs.net>, Sat, 26 Nov 2022 02:31:47 +0400
.vimrc: copy neovim's cursor changes in insert and replace modes

1 файлов изменено, 7 вставок(+), 0 удалений(-) [+]
.vimrc file | annotate | diff | comparison | revisions
--- a/.vimrc Sat Nov 26 02:12:19 2022 +0400
+++ b/.vimrc Sat Nov 26 02:31:47 2022 +0400
@@ -46,6 +46,13 @@
set ttimeoutlen=0 " eliminate delay after <ESC>
set updatetime=500 " faster async update for signify
+if !has('nvim')
+ " cursor in insert and replace modes
+ let &t_SI = "\e[6 q"
+ let &t_SR = "\e[4 q"
+ let &t_EI = "\e[2 q"
+endif
+
set pastetoggle=<F2>
let mapleader=","