[vim/vim] A minor correction to the docs (Issue #20281)

2 views
Skip to first unread message

lkintact

unread,
May 21, 2026, 2:14:27 PM (19 hours ago) May 21
to vim/vim, Subscribed
lkintact created an issue (vim/vim#20281)

### Steps to reproduce

Perhaps the fact that \<A-LeftMouse\> starts a `VISUAL BLOCK` selection should be reflected in `doc/visual.txt` (I personally discovered that by pure chance).

### Expected behaviour

Christian Brabandt

unread,
May 21, 2026, 3:09:29 PM (18 hours ago) May 21
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#20281)

It is mentioned at :h <A-LeftMouse>. What doc patch would you suggest at visual.txt?


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/20281/4511914038@github.com>

lkintact

unread,
May 21, 2026, 4:59:20 PM (17 hours ago) May 21
to vim/vim, Subscribed
lkintact left a comment (vim/vim#20281)

I'm afraid I don't have the expertise to offer a real patch to the documentation...


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/20281/4512713973@github.com>

Christian Brabandt

unread,
May 21, 2026, 5:16:14 PM (16 hours ago) May 21
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#20281)

Okay, how about the following then:

diff --git a/runtime/doc/visual.txt b/runtime/doc/visual.txt
index 67f32c4df..ebac1e1c1 100644
--- a/runtime/doc/visual.txt
+++ b/runtime/doc/visual.txt
@@ -157,6 +157,9 @@ gN                  Like |gn| but searches backward, like with `N`.
                        You cannot use these, but they might show up in some
                        places.

+<A-LeftMouse>          Starts or extends the Visual area blockwise, see
+                       |<A-LeftMouse>|.
+
 If Visual mode is not active and the "v", "V" or CTRL-V is preceded with a
 count, the size of the previously highlighted area is used for a start.  You
 can then move the end of the highlighted area and give an operator.  The type


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/20281/4512835047@github.com>

lkintact

unread,
May 21, 2026, 5:21:25 PM (16 hours ago) May 21
to vim/vim, Subscribed
lkintact left a comment (vim/vim#20281)

I think this isn't enough, as I just learned whether it's <A-LeftMouse> or <A-RightMouse> starts a blockwise Visual selection depends on 'mousemodel', which has different default values on different systems.


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/20281/4512874260@github.com>

Reply all
Reply to author
Forward
0 new messages