Friday, September 4, 2026

Re: $VIMRC over .vimrc ?

$MYVIMRC is unset when `vim -u foo` is used. Use `type vim` to see if you/someone else set an alias/func.
$MYVIMDIR is set to the last `runtimepath=` appended/set, so if you try to do oldschool plugin loading this can change it.

This is covered in :help VIMINIT but often missed. 

Personally I think it would make sense if $MYVIMRC was set by "-u", but it could be it is used as a deterministic searchpath and manual set would interfere - I haven't checked.

On Monday, March 30, 2026 at 9:57:19 PM UTC+2 Christopher wrote:
On Friday, March 20, 2026 at 10:58:21 AM UTC-4 D. Ben Knoble wrote:
On Fri, Mar 20, 2026 at 9:58 AM Christopher <crestchr...@gmail.com> wrote:
>
>
>
> On Thursday, March 19, 2026 at 8:44:22 PM UTC-4 Marvin Renich wrote:
>
> * Christopher <crestchr...@gmail.com> [260319 19:14]:
> > On Thu, Mar 19, 2026 at 9:45 AM Marvin Renich <mr...@renich.org> wrote:
> > > The user's vimrc file _must_ be one of the files listed above, unless
> > > you specify the -u option. The only way to specify the vimrc file in an
> > > environment variable is to export VIMINT="source /path/to/your/vimrc"
> > > before (or while) starting vim.
> >
> > You mention, the only way to specify a vimrc in a environment variable; I
> > assume as in $MYVIMRC is to export VIMNT which is the source of your vimrc
> > file. If my vimrc file was located in the system path then that would be;
> > VIMINT=`/etc/vimrc and that would create the environment variable $MYVIMRC
> > ?
>
> You need to read carefully and for exact syntax and content:
>
> > > environment variable is to export VIMINT="source /path/to/your/vimrc"
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> Remember that VIMINIT specifies an ex command to execute, not a file
> name. If you want to source a file using VIMINIT, you must specify the
> source command itself, not just the file name.
>
> Also, when testing this, know that :scriptnames is your friend.
>
> Also note that if your vimrc file is the system vimrc file (/etc/vimrc
> on some distributions, /etc/vim/vimrc on Debian), it is sufficient to
> use:
>
> VIMINIT=':' vim
>
> or
>
> export VIMINIT=':'
> vim
>
> as the system vimrc is sourced even if you specify a VIMINIT. Setting
> VIMINIT=':' simply disables reading of the user vimrc file, but not the
> system vimrc file. (':' is an empty ex command.)
>
> Finally, if you specify VIMINIT, MYVIMRC is _not_ set by vim.
>
> ...Marvin
>
>
> What do you mean by :scriptnames ?

":scriptnames" is an Ex command supported by Vim that announces what
scripts have been executed in the current session. (":help
:scriptnames").

> Within vim I run the command; VIMIT=: (colon) and that takes my system vimrc assigns it the variable $MYVIMRC or that has to be done after ?

I get the sense you may not be reading very carefully, but let me try
to clear up some confusion:

- "VIMINIT=: vim" is an example shell command that would disable
initializations from vimrc files other than the system vimrc.
(Notably, this does _not_ disable user-local plugins.)
- Vim will assign MYVIMRC if and when it finds and executes a user
vimrc. It never (AFAIK) assigns MYVIMRC to the path of the system
vimrc.
- The above point is moot if you set VIMINIT; then nothing sets MYVIMRC
- MYVIMRC is never _read_ by Vim to take any action (unless a plugin
or script uses it)

I wanted to clarify that it's now clear. In order to use the environment variable $MYVIMRC you must have a user; .vimrc file created, typically at the $HOME path for the installed nix version.

--
--
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 visit https://groups.google.com/d/msgid/vim_use/120999f4-42cf-4cc2-ab1b-b0a1200f157bn%40googlegroups.com.

Thursday, August 13, 2026

Re: Vim installer for Windows is 3 weeks old

Looks like something wrong with Windows build again. It is few days old, but in vim/vim/ I see new commits.

--
--
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 visit https://groups.google.com/d/msgid/vim_use/7d09d304-1446-4b74-b2be-377c86385457n%40googlegroups.com.

Tuesday, August 11, 2026

Algol 68 - was AW: AW: Synchronize syntax highlighting

I'll answer your question but suggest to continue this topic in Usenet (comp.lang.misc) if you're interested in more details. Von: vim_use@googlegroups.com <vim_use@googlegroups.com> im Auftrag von arocker@Vex.Net <arocker@Vex.Net> Gesendet: Dienstag, 11. August 2026 21:07 An: vim_use@googlegroups.com > I'm curious to know why anyone is editing Algol 68 code in 2026. Simply; I'm *editing* it because I am _writing programs_ in Algol 68. The question was probably meant as why one would write programs in an old (legacy) language like Algol 68. - The answer is not simple. In the past 50 years I've programmed in a lot of languages, Algol 68 was amongst the cleanest, yet very powerful, and safe! It was not my first and certainly not my last language, but other languages with all these properties were long rare, even non-existing. When I found a high-quality Algol 68 interpreter lately I was glad to refresh my old programming skills in a language that was by far more enjoyable to program in than, say, in "C" (or similar), or in one of the many more languages (that are sometimes even hyped, for reasons beyond me). > Are there even functioning compilers available any more? The "Genie" compiler "a68g" is the one that I found, and used since then. It's of very high quality (as I said), and effectively a "complete" implementation of that very large language. In addition it has quite some powerful extensions (for math, plotting, databases, functions and methods we know Unix systems, etc.). I think it was developed in the 1990's and made public (with source code) for free use in the late 1990's (IIRC). A 700-pages PDF documentation comes with it. It is still maintained by its original author, Marcel van der Veer, and releases are still published. In addition there's a much more recent GNU project to release an Algol 68 compiler, "ga68", as part of the GNU Compiler Collection. It's probably too fresh - maybe even incomplete, can't tell - to say anything about it. But its recent development is an indication that there seems to be still some interest in the Algol 68 language. The Vim syntax file is a small contribution to support that interest. Janis -- -- 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 visit https://groups.google.com/d/msgid/vim_use/AS2SPRMB0054D02866ECB10097A6AB8EF3DD2%40AS2SPRMB0054.eurprd05.prod.outlook.com.

New privacy settings for Search services and Google Play

Urgent: Sign in to your Google Account if you want to keep it

Sign in to your Google Account
rebbe.malachi.mailfeed@blogger.com

Your Google Account has not been used within a 2-year period.

If you want to keep your Google Account, sign in to your Google Account before September 15, 2026.

To protect user privacy and account data, Google will delete Google Accounts that are not used. Learn more

Learn how to download your Google data.

You received this email to let you know about important changes to your Google Account and services.

Re: AW: Synchronize syntax highlighting

See:




W dniu wt., 11 sie 2026 o 21:07 <arocker@vex.net> napisaƂ(a):

I'm curious to know why anyone is editing Algol 68 code in 2026. Are there
even functioning compilers available any more?

--
--
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 visit https://groups.google.com/d/msgid/vim_use/083783b13ffab75485ad6631a4033ad1.squirrel%40webmail.vybenetworks.com.

--
--
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 visit https://groups.google.com/d/msgid/vim_use/CAEHV%2Btbs0hxnhNBoziqiv7HzuUqcHpvBWGPT4RUErANk8tJKTQ%40mail.gmail.com.

Re: AW: Synchronize syntax highlighting

I'm curious to know why anyone is editing Algol 68 code in 2026. Are there even functioning compilers available any more? -- -- 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 visit https://groups.google.com/d/msgid/vim_use/083783b13ffab75485ad6631a4033ad1.squirrel%40webmail.vybenetworks.com.