vimr
vimr copied to clipboard
Cursor disappearing (vim-sandwich)
At times, the cursor disappears when I use vim-sandwich command sd
(surround-delete).
Using the following vimrc
:
if &compatible
set nocompatible
endif
" Add the dein installation directory into runtimepath
set runtimepath+=~/.cache/dein/repos/github.com/Shougo/dein.vim
if dein#load_state('~/.cache/dein')
call dein#begin('~/.cache/dein')
call dein#add('machakann/vim-sandwich')
call dein#end()
call dein#save_state()
endif
if dein#check_install()
call dein#install()
endif
filetype plugin on
filetype indent on
syntax on
augroup filetypedetect
au! BufRead,BufNewFile *.cls setfiletype tex
augroup END
let g:tex_flavor='latex'
And editing a text containing, for instance, the following: this will, no doubt, work
.
Now, if I'm in normal mode and selecting the text , no doubt,
and then press sd
, the commas are indeed deleted --- but the cursor is also rendered invisible.
However, I can only reproduce it in vimr! (I've tried vim, nvim, gvim, and vimr.)