Somewhere between patch 7.1.094 and 7.1.100 I found that setting
'lazyredraw' in my .vimrc causes gvim to not fully initialize the
screen on startup until a key is pressed.  I can reproduce it doing
this:

echo "set lazyredraw" > vimrc-example
gvim -u vimrc-example -U NONE --noplugin

Notice that the intro message doesn't get displayed until a key is
pressed.  If you provide a filename on the command line the buffer
doesn't get displayed initially either.

Forcing a redraw on the VimEnter event helps, but the cursor is still
displayed in the wrong location until a key is pressed:

echo "autocmd VimEnter * redraw" >> vimrc-example
gvim -u vimrc-example -U NONE --noplugin

- Christian

-- 
            Unnamed Law:  If it happens, it must be possible.
Christian J. Robinson <[EMAIL PROTECTED]> http://infynity.spodzone.com/
   PGP keys: 0x893B0EAF / 0xFB698360   http://infynity.spodzone.com/pgp

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui