diff --git a/README.md b/README.md index edaa6f8..b46aac5 100644 --- a/README.md +++ b/README.md @@ -1149,16 +1149,18 @@ command! Smaller :let &guifont = substitute(&guifont, '\d\+$', '\=submatch(0)-1' #### Change cursor style in insert mode -I like to use a block cursor in normal mode and i-beam cursor in insert mode. -Also when using tmux in the middle. +I like to use a block cursor in normal mode, i-beam cursor in insert mode, and +underline cursor in replace mode. Also when using tmux in the middle. ```viml if empty($TMUX) let &t_SI = "\]50;CursorShape=1\x7" let &t_EI = "\]50;CursorShape=0\x7" + let &t_SR = "\]50;CursorShape=2\x7" else let &t_SI = "\Ptmux;\\]50;CursorShape=1\x7\\\" let &t_EI = "\Ptmux;\\]50;CursorShape=0\x7\\\" + let &t_SR = "\Ptmux;\\]50;CursorShape=2\x7\\\" endif ```