On 21/09/11 03:47, Lacis, Alf wrote:
Hi,

At a customer site, all users home dirs are set to the same $HOME.

The way I see it, this is an abuse of the definition of $HOME. Each login name should correspond to a different home directory; usually the path contains the username as one of its elements.


How do I have a unique settings file?  Can I specify a personal settings
file on the command line?

Alf

Yes you can, see :help -u

However Vim will not automagically set 'nocompatible' when -u has been used. You have to set it yourself, preferably as the first command in your startup script.

Also, using -u overrides any user vimrc ($HOME/.vimrc or $HOME/_vimrc) and any system vimrc ($VIM/vimrc, may be changed at compile-time) — none of them will be sourced, unless explicitly specified as the operand of a :source command in a script which _is_ sourced.


Best regards,
Tony.
--
Real programmers don't write in BASIC.  Actually, no programmers write
in BASIC after reaching puberty.

--
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

Reply via email to