vim-patch:c7645fc: runtime(doc): add a few references to mouse behaviour (#39959)

fixes: vim/vim#20281

c7645fcda5

Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
zeertzjq
2026-05-23 07:47:49 +08:00
committed by GitHub
parent b58ce1ab79
commit f53d9ac90b
4 changed files with 15 additions and 3 deletions

View File

@@ -4596,7 +4596,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

View File

@@ -139,6 +139,9 @@ gN Like |gn| but searches backward, like with `N`.
environment variable or the -display argument). Only
when 'mouse' option contains 'n' or 'a'.
<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

View File

@@ -4667,7 +4667,10 @@ vim.go.mh = vim.go.mousehide
--- 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

View File

@@ -6062,7 +6062,10 @@ local options = {
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