[vim/vim] i_CTRL-X_CTRL-F completion doesn't see the contents of folders containing "&"s or spaces in the names (Issue #20323)

5 views
Skip to first unread message

lkintact

unread,
May 24, 2026, 5:15:58 PM (9 hours ago) May 24
to vim/vim, Subscribed
lkintact created an issue (vim/vim#20323)

Steps to reproduce

  1. Create a folder with the name either apples&oranges or apples oranges and put a file into it.
  2. From the parent folder of the one you've just created run gvim.exe --clean.
  3. Type i to start INSERT mode, type .\. Press Ctrlx and then Ctrlf, a list of folders and files shows up.
  4. Hit Ctrln repeatedly till the folder you created at step 1 is selected in the list.
  5. Press Ctrlx and Ctrlf again.

No further expansion happens, gVim reports Pattern not found.

Expected behaviour

Current line should be expanded to the path of the file from step 1.

Version of Vim

9.2.514

Environment

OS: Windows 10 Home 22H2,
Terminal: GUI.

Logs and stack traces


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/20323@github.com>

zeertzjq

unread,
May 24, 2026, 7:41:23 PM (6 hours ago) May 24
to vim/vim, Subscribed
zeertzjq left a comment (vim/vim#20323)

:h 'isfname'


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/20323/4530542720@github.com>

Reply all
Reply to author
Forward
0 new messages