On Sun, 9 Oct 2022 02:28:14 +0200
Tony Mechelynck <antoine.mechelynck@gmail.com> wrote:
> Well, the Vim executables I compile myself come with $VIM defaulted to
> /usr/local/share/vim and $VIMRUNTIME set to
> /usr/local/share/vim/vim90/. Those from my Linux distro have $VIM set
> to /usr/share/vim and $VIMRUNTIME set to /usr/share/vim/vim90. The
> "system vimrc" is at, respectively, $VIM/vimrc and /etc/vimrc but
> neither of them exist. My vimrc sets $VIM to /usr/share/vim so that
> they both will find my user-written scripts (at $VIM/vimfiles and
> below) at a common location. I don't touch $VIMRUNTIME so each of them
> uses its own "distribution" scripts. This way, in the rare case that I
> have to use the distro's Vim rather than my own, it will work
> identically apart from a difference in patchlevels and in featureset.
Thanks. That clears pretty much everything. Just one question. Why are
the user-written scripts residing in /usr/share/vim instead of ~/.vim? I
assume that's an unrelated, personal reason.
--
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/20221009102301.00007fef%40gmail.com.
No comments:
Post a Comment