Tuesday, March 17, 2026

$VIMRC over .vimrc ?

When initializing Vim it searches first for $MYVIMRC, although that file doesn't exist in my case so it immediately goes to .vimrc. I'm reading the documentation on how to create this $VIMRC file as so that it's read first, rather then the .vimrc file ?

--
--
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/591b5f4b-e7e3-4601-93f8-8ac9a7e1ffb7n%40googlegroups.com.

Monday, March 16, 2026

RE: Where in VIM for Windows do you see the path to the _vmrc file that the program is actually using

surprised Susan McElheny reacted to your message:
Susan McElheny
Senior Manager, Data Tabulation‑Data & Analytics
+1 703.536.0500
 main
+1 703.536.0923 direct
Austin | Brussels | Chicago | Denver | Detroit | Dubai | Frankfurt |
Kansas City | London | Los Angeles | Munich | New Delhi | New York
Paris | Rotterdam | Whistler
 

From: vim_use@googlegroups.com <vim_use@googlegroups.com> on behalf of Eike Rathke <list@erack.de>
Sent: Monday, October 23, 2023 11:43:45 PM
To: vim_use@googlegroups.com <vim_use@googlegroups.com>
Subject: Re: Where in VIM for Windows do you see the path to the _vmrc file that the program is actually using
 
Hi,

On Monday, 2023-10-23 17:30:45 +0000, Christian Castro wrote:

> Is there a config file in Vim that tells me path it's looking for when it goes to find the _vimrc file?

:h startup
:version

To display where an option was last defined, e.g. viminfo, use
:verbose set viminfo

:h :verbose-cmd

  Eike

--
OpenPGP/GnuPG encrypted mail preferred in all private communication.
GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A
Use LibreOffice! https://www.libreoffice.org/

--
--
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/ZTcFOQJhYcbxWmgo%40kulungile.erack.de.

Re: Current Position - Attempt to hide email address ???

I think the concern about exposing your email address is moot.

(snapshot from my Thunderbird client)

Wouldn't you say?

Eric

On 2026-03-15 09:17, Christopher wrote:

 I understand it works for you; although as I posted. It doesn't work in my case. I see the `g` in the bottom of the screen but when doing CTRL+G nothing happens ? 

The method of using the `...` to post below using Google Groups web interface exposes my email address; do I want that ? 


On Saturday, March 14, 2026 at 9:40:29 PM UTC-4 Yongwei Wu wrote:
On Sat, 14 Mar 2026 at 16:56, Christopher <crestchr...@gmail.com> wrote:
I tried another version on another installation; the same thing. This is frustrating why it's not working; I assume if I can't get this to work similar commands will not work. Therefore I really want to solve this issue.

1. What did you see when you type g followed by Ctrl-G?
2. What's the output of `:nmap` after starting Vim with `vim --clean`?
3. If still unsolved, what's your output of `:version`?

--
Yongwei Wu
URL: http://wyw.dcweb.cn/
--
--
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/fd2b8101-c1d0-4f60-b14a-ff306fa4a13cn%40googlegroups.com.

Re: Does popup_menu() functions asynchronous?



пн, 16 мар. 2026 г., 18:54 Piotr Kolasiński <ptkola@gmail.com>:

Thanks for the response, but I'm afraid that I don't understand what you suggest. Could you be so kind and show me simple example.
Piotr
czwartek, 5 marca 2026 o 15:10:21 UTC+1 M napisał(a):


вт, 3 мар. 2026 г., 11:41 Piotr Kolasiński <ptk...@gmail.com>:
I try to use popup_menu() in linear code like:

——

func PopupResult(id, sel)
    let g:popup_sel = a:result
    echo "In popup: " .. g:result
endfunc

call popup_menu(["A","B","C"], #{ callback: 'PopupResult' })

echo 'After popup'

——-

but 'After popup' is displayed immediately, not waiting for finish the call. 
Does popup_menu works asynchronous? How can I execute such code in linear way?

Piotr

--
--
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+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/78474f86-0bd6-401c-bdc3-fc85b4ca7b45n%40googlegroups.com.

Hello,

No you can't. The good news is that you hardly ever need it. Just return and continue execution from the callback function. The way typical for _modeless_ dialogs.

Regards,
Matvey

--
--
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/86113ba2-911b-4ce2-ad3d-cecfa9f368b2n%40googlegroups.com.

Hello,


Regards,
Matvey

--
--
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/CAFsTB%2BJi3kYZHDdW6vw9nLBdkqK90z8Xdt-qabFzsimWpiXrMg%40mail.gmail.com.

Re: Does popup_menu() functions asynchronous?


Thanks for the response, but I'm afraid that I don't understand what you suggest. Could you be so kind and show me simple example.
Piotr
czwartek, 5 marca 2026 o 15:10:21 UTC+1 M napisał(a):


вт, 3 мар. 2026 г., 11:41 Piotr Kolasiński <ptk...@gmail.com>:
I try to use popup_menu() in linear code like:

——

func PopupResult(id, sel)
    let g:popup_sel = a:result
    echo "In popup: " .. g:result
endfunc

call popup_menu(["A","B","C"], #{ callback: 'PopupResult' })

echo 'After popup'

——-

but 'After popup' is displayed immediately, not waiting for finish the call. 
Does popup_menu works asynchronous? How can I execute such code in linear way?

Piotr

--
--
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+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/78474f86-0bd6-401c-bdc3-fc85b4ca7b45n%40googlegroups.com.

Hello,

No you can't. The good news is that you hardly ever need it. Just return and continue execution from the callback function. The way typical for _modeless_ dialogs.

Regards,
Matvey

--
--
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/86113ba2-911b-4ce2-ad3d-cecfa9f368b2n%40googlegroups.com.

Sunday, March 15, 2026

Re: Current Position



On Sunday, March 15, 2026 at 8:13:17 PM UTC-4 Christopher wrote:
On Wednesday, March 11, 2026 at 2:56:40 PM UTC-4 Christian Brabandt wrote:

On Mi, 11 Mär 2026, Christopher wrote:

> I tried vim --clean I don't see anything happen ?

Please do not top poste.

Does this work?
:exe ":norm! g\<c-g>"


Thanks,
Christian
--
District of Columbia pedestrians who leap over passing autos to escape
injury, and then strike the car as they come down, are liable for any
damage inflicted on the vehicle.

I think my versions of vim just won't work with g - ctrl+g. I searched into other programs using this short-cut, there is nothing. Strangest issue.   

The issue is resolved; it's because :messages is hidden.  

--
--
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/686b1c04-55a8-4330-9f26-9d8c6804ec1cn%40googlegroups.com.

Re: Current Position



On Wednesday, March 11, 2026 at 2:56:40 PM UTC-4 Christian Brabandt wrote:

On Mi, 11 Mär 2026, Christopher wrote:

> I tried vim --clean I don't see anything happen ?

Please do not top poste.

Does this work?
:exe ":norm! g\<c-g>"


Thanks,
Christian
--
District of Columbia pedestrians who leap over passing autos to escape
injury, and then strike the car as they come down, are liable for any
damage inflicted on the vehicle.

I think my versions of vim just won't work with g - ctrl+g. I searched into other programs using this short-cut, there is nothing. Strangest issue.   

--
--
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/4e5abd7e-5870-48c7-859a-53f802c4dd80n%40googlegroups.com.