check where vim executable package
:echo v:progpath
check vimdoc with keyword
:helpgrep <keyword>
" i.e.
:helpgrep slow
- or
:echo $VIM
cursor and cursor shape
[!NOTE|label:references:]
- revert cursor shape when exit vim/nvim
autocmd VimLeave * silent !echo -ne "\e[6 q"
guicursor
$ /Applications/MacVim.app/Contents/bin/mvim -u NONE \
-c 'redir > ~/Desktop/guicursor.txt' \
-c 'echo &guicursor' \
-c 'redir END' \
-c 'q'
$ cat ~/Desktop/guicursor.txt
n-v-c:block-Cursor/lCursor,ve:ver35-Cursor,o:hor50-Cursor,i-ci:ver25-Cursor/lCursor,r-cr:hor20-Cursor/lCursor,sm:block-Cursor-blinkwait175-blinkoff150-blinkon175
# after modified
$ /Applications/MacVim.app/Contents/bin/mvim -c 'redir! > ~/Desktop/guicursor.txt' \
-c 'echo &guicursor' \
-c 'redir END' \
-c 'q'
$ cat ~/Desktop/guicursor.txt
a:hor10-Cursor-blinkon0,i-r-c-ci-cr-o:hor10-iCursor-blinkon0,n:hor10-Cursor-blinkwait700-blinkon400-blinkoff250,v-ve:block-Cursor
cursorcolumn
[!NOTE|label:references:]
set cursorcolumn
autocmd InsertEnter * highlight CursorColumn ctermfg=White ctermbg=Yellow cterm=bold guifg=white guibg=yellow gui=bold
autocmd InsertLeave * highlight CursorColumn ctermfg=Black ctermbg=Yellow cterm=bold guifg=Black guibg=yellow gui=NONE
" or simplely via
set cursorcolumn
highlight CursorColumn ctermfg=White ctermbg=gray cterm=bold guifg=white guibg=gray gui=bold