From 9c4556a711513372181eff1652a55a4b54956e03 Mon Sep 17 00:00:00 2001 From: Emilien Breton Date: Wed, 12 Aug 2026 15:54:56 -0400 Subject: [PATCH 1/2] runtime(doc): document |v_gF| --- runtime/doc/editing.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/runtime/doc/editing.txt b/runtime/doc/editing.txt index c1fadf71cebe13..66d089e044f29c 100644 --- a/runtime/doc/editing.txt +++ b/runtime/doc/editing.txt @@ -1,4 +1,4 @@ -*editing.txt* For Vim version 9.2. Last change: 2026 Feb 14 +*editing.txt* For Vim version 9.2. Last change: 2026 Aug 12 VIM REFERENCE MANUAL by Bram Moolenaar @@ -346,7 +346,9 @@ CTRL-^ Edit the alternate file. Mostly the alternate file is eval.c 40 ~ *v_gF* -{Visual}[count]gF Same as "v_gf". +{Visual}[count]gF Same as "v_gf", but if the highlighted text is + immediately followed by a colon and a number, then the + cursor is positioned on that line in the file. These commands are used to start editing a single file. This means that the file is read into the buffer and the current file name is set. The file that From efd7d41f7c8eef515f7457754fc0bf4e188409cc Mon Sep 17 00:00:00 2001 From: Emilien Breton Date: Thu, 13 Aug 2026 12:34:37 -0400 Subject: [PATCH 2/2] rephrase for clarity --- runtime/doc/editing.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/runtime/doc/editing.txt b/runtime/doc/editing.txt index 66d089e044f29c..2f1bb8f5dda16e 100644 --- a/runtime/doc/editing.txt +++ b/runtime/doc/editing.txt @@ -1,4 +1,4 @@ -*editing.txt* For Vim version 9.2. Last change: 2026 Aug 12 +*editing.txt* For Vim version 9.2. Last change: 2026 Aug 13 VIM REFERENCE MANUAL by Bram Moolenaar @@ -346,9 +346,10 @@ CTRL-^ Edit the alternate file. Mostly the alternate file is eval.c 40 ~ *v_gF* -{Visual}[count]gF Same as "v_gf", but if the highlighted text is - immediately followed by a colon and a number, then the - cursor is positioned on that line in the file. +{Visual}[count]gF Same as "v_gf", but if a colon and a number appear + immediately after the end of the highlighted text, + then the cursor is positioned on that line in the + file. These commands are used to start editing a single file. This means that the file is read into the buffer and the current file name is set. The file that