On 2012-10-11, bilibop project wrote:
> The Vim default settings are obtained with:
> $ vim -Nu NONE
> or, for gvim:
> $ gvim -NU NONE
For the record, this is incorrect for -U. The -U option does not
obtain all default settings, it obtains default _GUI_ settings. You
can see this for yourself by starting gvim as "gvim -NU NONE" and
then executing ":scriptnames".
The documentation of -U and gui-init is not as clear as it could be
on this point, but towards the bottom of ":help gui-init" it does
say,
All this happens AFTER the normal Vim initializations, like
reading your .vimrc file. See |initialization|.
Also see ":help startup" and note that GUI initialization does not
occur until step #8.
If you wish to start gvim without sourcing any configuration files*,
use
gvim -Nu NONE
just as you would for vim.
Regards,
Gary
----------
* Except menu.vim and autoload/paste.vim.
--
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
Thursday, October 11, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment