no more persistent insert

Fri, 18 Oct 2019 05:16:48 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 18 Oct 2019 05:16:48 -0400
changeset 801
fed4718fee5b
parent 800
e8300acce2e4
child 802
8e0452d9316c

no more persistent insert

.vimrc file | annotate | diff | comparison | revisions
--- a/.vimrc
+++ b/.vimrc
@@ -255,6 +255,8 @@ set go-=T go-=m go-=t "no toolbar, menu,
 augroup vimrc
   autocmd!
 
+  autocmd WinLeave * stopinsert
+
   " set and load a session based on servername
   autocmd VimEnter  * call vimrc#AutoSessionConfig()
 

mercurial