]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): add a few references to mouse behaviour
authorChristian Brabandt <cb@256bit.org>
Fri, 22 May 2026 17:44:50 +0000 (17:44 +0000)
committerChristian Brabandt <cb@256bit.org>
Fri, 22 May 2026 17:44:50 +0000 (17:44 +0000)
fixes: #20281

Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/options.txt
runtime/doc/visual.txt

index b7d74e9f8c95e91948a7e2987d7791209ede4e05..bfab0a87b411f7c5a0430a26e00800cc45b22862 100644 (file)
@@ -1,4 +1,4 @@
-*options.txt*  For Vim version 9.2.  Last change: 2026 May 18
+*options.txt*  For Vim version 9.2.  Last change: 2026 May 22
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -6369,7 +6369,10 @@ A jump table for the options with a short description can be found at |Q_op|.
                        be acted upon, i.e. no cursor move.  This implies of
                        course, that right clicking outside a selection will
                        end Visual mode.
-       Overview of what button does what for each model:
+
+       For a detailed description of 'mousemodel' behaviour see
+       |mouse-mode-table|.  Overview of what button does what for each model:
+
        mouse               extend              popup(_setpos) ~
        left click          place cursor        place cursor
        left drag           start selection     start selection
index 67f32c4dfb80f9df293f130905646759ff1f3d56..3f3c6870838e806cb2e4546dda0875daf87ff64c 100644 (file)
@@ -1,4 +1,4 @@
-*visual.txt*   For Vim version 9.2.  Last change: 2026 Feb 14
+*visual.txt*   For Vim version 9.2.  Last change: 2026 May 22
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -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