]> git.phdru.name Git - dotfiles.git/commitdiff
.vimrc: Change GUI cursor shape in different modes
authorOleg Broytman <phd@phdru.name>
Mon, 18 Nov 2019 01:42:20 +0000 (04:42 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 18 Nov 2019 01:42:20 +0000 (04:42 +0300)
.vimrc

diff --git a/.vimrc b/.vimrc
index 1138c837bf5f7437096a23b0e4b4f537d25b0e0f..aa6fd4ee52cab82ae24126d4f129bfd2125ae63f 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -215,6 +215,8 @@ if has("gui_running")
       set toolbar=icons,text " how to show the toolbar
    endif
 
+   set guicursor+=n:block " Block cursor in normal mode
+   set guicursor+=i:ver10 " Solid vertical bar in insert mode
    set guicursor+=a:blinkon0 " Stop cursor blinking
 
    " Make shift-insert work like in Xterm