check where vim executable package
:helpgrep <keyword>
" i.e.
:helpgrep slow
[!NOTE|label:references:]
cursor shape
mode settings:
t_SI = INSERT mode : let &t_SI.="\e[5 q"
t_SR = REPLACE mode : let &t_SR.="\e[4 q"
t_EI = NORMAL mode (ELSE) : let &t_EI.="\e[1 q"
cursor settings:
5 -> blinking vertical bar
$ /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
[!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