Gvim startup slow. Please see the log and advise

2017-08-18 Thread Sharat A
Hi, My Gvim startup time is slow. With all plugins it's taking around 4sec. I don't understand why source $VIMRUNTIME/menu.vim is taking 1200 msec. Any pointers? (I like to reduce atleast 1 sec in my Gvim startup time). Thank you! Note: only pasted the relevant portion, where menu.vim is taki

Re: Gvim startup slow. Please see the log and advise

2017-08-18 Thread Sharat A
On Friday, August 18, 2017 at 5:06:36 PM UTC-4, Sharat A wrote: > Hi, > > My Gvim startup time is slow. With all plugins it's taking around 4sec. I > don't understand why source $VIMRUNTIME/menu.vim is taking 1200 msec. Any > pointers? (I like to reduce atleast 1 sec in my Gvim startup time). Th

Re: Gvim startup slow. Please see the log and advise

2017-08-18 Thread Frank Shute
Look carefully at the line sourcing menu.vim: > 360.000 1200.000 1200.000: sourcing C:\Users\addansa\PgmFiles\Vim/menu.vim Notice the forward slash rather than backslash before "menu.vim" unlike everywhere else? I wouldn't be surprised if that's your problem. Filepath handling on Windows is a

Re: Gvim startup slow. Please see the log and advise

2017-08-19 Thread Marc Weber
If a plugin is slow you can load it lazily as needed. Then the 1.2 secs only have to be spent if you use the features. VAM, NeoVim, https://github.com/junegunn/vim-plug all support kind of lazy leading. Talk about what menu.vim is doing, maybe there is an alternative solution. You can also use