Thursday, October 6, 2022

Where should $VIM point to?

Where should `:h $VIM` point toward? Where vim is installed or where vim
configurations is situated? By default it points to where vim is
installed. But the help doc says:

> The environment variable "$VIM" is used to locate various user files
> for Vim, such as the user startup script ".vimrc".
^^^^^^

Is `$VIM` supposed to point to my user config folder or the installation
directory? What is its intended purpose?


P.S. I came to know about this variable from an SO question[1].

[1]: https://vi.stackexchange.com/q/38793/16280

--
Enan

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20221007111414.42932c41%40cirdan.

No comments: