On 19/06/09 21:02, Charles Campbell wrote:
>
> Tony Mechelynck wrote:
>> I believe the difference is that the vimrc and gvimrc are sourced only
>> once at startup (hence, only a small overall performance throwback for
>> checking both names), while the 'runtimepath' directories are walked
>> through at practically every autocommand event, and also for ":runtime"
>> and ":doau" commands. I believe that adding two items in 'runtimepath',
>> though it would work, might reduce performance somewhat.
>>
> I'm not Bram, either -- but one can also just specify the runtimepath
> via the environment
> variable VIMRUNTIME with whatever path one deems suitable.
>
> Regards,
> Chip Campbell
That is not the 'runtimepath' but the $VIMRUNTIME, i.e., the _single_
directory head of the tree containing the runtime files from the Vim
_distribution_, which must NOT be changed by the user.
The default 'runtimepath' setting is (and I'm adding linebreaks for
clarity):
on Windows:
~/vimfiles,
$VIM/vimfiles,
$VIMRUNTIME,
$VIM/vimfiles/after,
~/vimfiles/after
on Unix:
~/.vim,
$VIM/vimfiles,
$VIMRUNTIME,
$VIM/vimfiles/after,
~/.vim/after
The proposed change would be to make that:
on Windows:
~/vimfiles,
~/.vim,
$VIM/vimfiles,
$VIMRUNTIME,
$VIM/vimfiles/after,
~/.vim/after,
~/vimfiles/after
on Unix:
~/.vim,
~/vimfiles,
$VIM/vimfiles,
$VIMRUNTIME,
$VIM/vimfiles/after,
~/vimfiles/after,
~/.vim/after
with seven instead of five trees in each case.
Best regards,
Tony.
--
THE LESSER-KNOWN PROGRAMMING LANGUAGES #8: LAIDBACK
This language was developed at the Marin County Center for T'ai Chi,
Mellowness and Computer Programming (now defunct), as an alternative to
the more intense atmosphere in nearby Silicon Valley.
The center was ideal for programmers who liked to soak in hot tubs
while they worked. Unfortunately few programmers could survive there
because the center outlawed Pizza and Coca-Cola in favor of Tofu and
Perrier.
Many mourn the demise of LAIDBACK because of its reputation as a gentle
and non-threatening language since all error messages are in lower
case. For example, LAIDBACK responded to syntax errors with the
message:
"i hate to bother you, but i just can't relate to that. can
you find the time to try it again?"
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---