From 58fd7a7691703e5f6de85e287ff409dc820d31a5 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Mon, 18 Jan 2016 12:25:30 +0100 Subject: [PATCH] Tips: underline cursor in replace mode --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 ```