[vim/vim] runtime(doc): document |v_gF| (PR #21034)

4 views
Skip to first unread message

Emilien Breton

unread,
Aug 12, 2026, 4:10:05 PM (22 hours ago) Aug 12
to vim/vim, Subscribed

The relevant line-obtaining logic is in grab_file_name().


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/21034

Commit Summary

  • 9c4556a runtime(doc): document |v_gF|

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/21034@github.com>

Christian Brabandt

unread,
Aug 12, 2026, 4:17:31 PM (22 hours ago) Aug 12
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#21034)

that is not correct. Try editing a new buffer from Vims repo with this content:

:set hidden
src/eval.c:499

place the cursor on it, press gF, Vim jumps to src/eval.c line 499, visual selection the line and pressing gF errors out with

E447: Can't find file "src/eval.c:499" in path


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/21034/c5272313900@github.com>

Emilien Breton

unread,
Aug 12, 2026, 5:18:10 PM (21 hours ago) Aug 12
to vim/vim, Subscribed
Bricktech2000 left a comment (vim/vim#21034)

With a linewise selection I get the same error as you do.

The visual selection should look like [src/eval.c]:499, i.e., contain the file name and path but not the colon or the line number. Let me know if that works. Maybe I should rephrase the documentation to clarify this?


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/21034/c5272897122@github.com>

Christian Brabandt

unread,
2:43 AM (12 hours ago) 2:43 AM
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#21034)

yeah, then we should clarify this behaviour. Thanks


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/21034/c5276935550@github.com>

Reply all
Reply to author
Forward
0 new messages