Hi Linda!

On Fr, 06 Mär 2015, Linda W wrote:

> Christian Brabandt wrote:
> >
> >That looks strange indeed. I would suggest to postpone the
> >resizing until Vim has started up completely. Since there are some
> >checks in the Code that postpone processing, if Vim is starting.
> ----
>    How do I do that in a gvimrc?

Using WinEnter and VimEnter autocommands worked for me:

if !exists("g:autocommands_loaded")
    let g:autocommands_loaded =1
    au VimEnter,WinEnter *   let ln = line("'\"") | if 
search("vim=:SetNumberAndWidth",'n') | call SetNumberAndWidth() | endif
endif


Best,
Christian
-- 
   ("`-''-/").___..--''"`-.
    `6_ 6 /         (    ).`-.__.`)
    (_Y_.)'  ._   )  `._ `.``-..-'
  _..`--'_..-_/  /--'_.' ,'
 (il),-''  (li),'  ((!.-'

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to