[vim/vim] Why cmdline buffer name completion show full path? (Discussion #19150)

1 view
Skip to first unread message

Shixin Chai(柴世欣)

unread,
Jan 10, 2026, 1:34:31 PMJan 10
to vim/vim, Subscribed

I open buffers in relative paths, but the :buffer command tab completion sometimes show buffer path from home dir. Is this a design choice or a bug?

e.g. pwd = ~/projects/one, open a buffer main.c under pwd use :e main.c.
then :b on, the ~/projects/one/main.c will be completed, which is wierd.


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/repo-discussions/19150@github.com>

charan

unread,
9:42 AM (2 hours ago) 9:42 AM
to vim/vim, Subscribed

@Old-Farmer it is always listing starting from the present directory for me

e.g. pwd = ~/projects/one, open a buffer main.c under pwd use :e main.c.
then :b on, the ~/projects/one/main.c will be completed, which is wierd.

this is showing up main.c as expected


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/repo-discussions/19150/comments/15598118@github.com>

Reply all
Reply to author
Forward
0 new messages