Friday, October 7, 2022

Re: Where should $VIM point to?

On Fri, Oct 7, 2022 at 8:38 AM Enan Ajmain <3nan.ajmain@gmail.com> wrote:
>
> On Fri, 7 Oct 2022 08:25:16 +0200
> Christian Brabandt <cblists@256bit.org> wrote:
>
> > You should not be required to bother :)
>
> I realize that. That's why I didn't know about this variable before. But
> my question is -- sorry for prying -- is it _intended_ to point to
> installation directory, i.e., the system's vim files? Or should it point
> to user's vim files?
>
> --
> Enan

The user's Vim files are normally located, either (privately) at
$HOME/.vim/ (Unix) or $HOME/vimfiles/ (Windows), or
(installation-wide) at $VIM/vimfiles/ — or, in all cases, in the
after/ subdirectories of the same, depending on whether you want them
to be sourced before or after the corresponding scripts from the Vim
distribution.

There are rare cases (which I won't describe here — if they applied to
you you would know it, and what to do) where it is worth setting $VIM
to some nondefault value.

For details about where to put your own Vim scripts (other than your
vimrc or gvimrc which are in your home directory) see :help
'runtimepath'

Best regards,
Tony.

--
--
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/CAJkCKXv7dXVBgOd2KPz6FLXxOJKcWUjfpFfSnnVOpciS7SxNrg%40mail.gmail.com.

No comments: