stop resizing on reload

Fri, 22 Nov 2019 05:24:16 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 22 Nov 2019 05:24:16 -0600
changeset 827
02630cc4d64a
parent 826
0c872b88b44a
child 828
81ede7493890

stop resizing on reload

.vimrc file | annotate | diff | comparison | revisions
--- a/.vimrc
+++ b/.vimrc
@@ -473,7 +473,10 @@ if has('gui_running')
   set number
   set background=dark
 
-  set columns=120 lines=40
+  if get(g:, 'vimrc_window_sized', 0)
+    set columns=120 lines=40
+    let g:vimrc_window_sized = 1
+  endif
 
   set guicursor+=a:blinkwait1000-blinkon1200-blinkoff250
 

mercurial