diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-09-04 21:44:31 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-04 21:44:31 +0800 |
commit | 5ac6654334785427886d5698fdbe79577c8c6efe (patch) | |
tree | b5e4773025a714f20391e800232ec35929794133 /runtime | |
parent | 900a7741821ff8dfb0634290a343e501955e9a1a (diff) | |
parent | 82d128405aaeb619a0c04353449f5717da126249 (diff) | |
download | rneovim-5ac6654334785427886d5698fdbe79577c8c6efe.tar.gz rneovim-5ac6654334785427886d5698fdbe79577c8c6efe.tar.bz2 rneovim-5ac6654334785427886d5698fdbe79577c8c6efe.zip |
Merge pull request #19481 from zeertzjq/vim-8.2.4674
Add 'mousemoveevent' as a UI option
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/api.txt | 4 | ||||
-rw-r--r-- | runtime/doc/options.txt | 9 | ||||
-rw-r--r-- | runtime/doc/ui.txt | 1 |
3 files changed, 13 insertions, 1 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt index 82978d0b3c..063e17ded9 100644 --- a/runtime/doc/api.txt +++ b/runtime/doc/api.txt @@ -1067,9 +1067,11 @@ nvim_input_mouse({button}, {action}, {modifier}, {grid}, {row}, {col}) |api-fast| Parameters: ~ - {button} Mouse button: one of "left", "right", "middle", "wheel". + {button} Mouse button: one of "left", "right", "middle", "wheel", + "move". {action} For ordinary buttons, one of "press", "drag", "release". For the wheel, one of "up", "down", "left", "right". + Ignored for "move". {modifier} String of modifiers each represented by a single char. The same specifiers are used as for a key press, except that the "-" separator is optional, so "C-A-", "c-a" and "CA" diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 9e396dd3e8..316b7ae3f1 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -4231,6 +4231,15 @@ A jump table for the options with a short description can be found at |Q_op|. The 'mousemodel' option is set by the |:behave| command. + *'mousemoveevent'* *'mousemev'* +'mousemoveevent' 'mousemev' boolean (default off) + global + When on, mouse move events are delivered to the input queue and are + available for mapping. The default, off, avoids the mouse movement + overhead except when needed. + Warning: Setting this option can make pending mappings to be aborted + when the mouse is moved. + *'mousescroll'* 'mousescroll' string (default "ver:3,hor:6") global diff --git a/runtime/doc/ui.txt b/runtime/doc/ui.txt index 3fb9ed1125..955af84679 100644 --- a/runtime/doc/ui.txt +++ b/runtime/doc/ui.txt @@ -207,6 +207,7 @@ the editor. 'guifontwide' 'linespace' 'mousefocus' + 'mousemoveevent' 'pumblend' 'showtabline' 'termguicolors' |