From c7645fcda50f95cc098545b70ce937a986b997d1 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Fri, 22 May 2026 17:44:50 +0000 Subject: [PATCH] runtime(doc): add a few references to mouse behaviour fixes: #20281 Signed-off-by: Christian Brabandt --- runtime/doc/options.txt | 7 +++++-- runtime/doc/visual.txt | 5 ++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index b7d74e9f8c..bfab0a87b4 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -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 diff --git a/runtime/doc/visual.txt b/runtime/doc/visual.txt index 67f32c4dfb..3f3c687083 100644 --- a/runtime/doc/visual.txt +++ b/runtime/doc/visual.txt @@ -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. + Starts or extends the Visual area blockwise, see + ||. + 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