On Fri 6-Oct-06 12:15am -0600, Gary Johnson wrote:
> I also found this under ":help gui-init":
>
> To skip loading the system menu include 'M' in 'guioptions'.
>
> So to avoid loading _anything_, at the expense of not having any
> menus, one could start gvim as
>
> gvim -N -u NONE -i NONE --cmd 'set go+=M'
Since I use Gvim with no menu - much better syntax
highlighting than Vim - my vimrc has
set guioptions=M
which speeds up loading a bit. I also have a toggle in
gvimrc which, upon being toggled for the first time,
includes:
source $vimruntime\menu.vim
However, when I'm running Gvim to be as virgin as possible,
I keep the menu.
My actual aliases do the following (revised after wading
through all the existing startup docs and experimenting with
-V a few weekends ago):
gvim.exe -u NONE -i NONE -N --cmd "se rtp=$VIMRUNTIME" "+so $vim\_minrc"
and
vim.exe -u NONE -i NONE -N "+so $vim\_minrc"
where _minrc does some simple things like shut off bells and
screen flashing, gives me my normal 'rtp' and 'stl', and
sets 'gfn' (if has("GUI")) for normal and vimdiff.
--
Best regards,
Bill