Merge pull request #21395 from neovim/backport-21394-to-release-0.8

[Backport release-0.8] docs: mention how to remove the "How-to disable mouse" menu item
This commit is contained in:
zeertzjq 2022-12-13 09:53:10 +08:00 committed by GitHub
commit faa5ecce93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,7 +79,6 @@ centralized reference of the differences.
- |g:vimsyn_embed| defaults to "l" to enable Lua highlighting
Default Mouse ~
*default-mouse* *disable-mouse*
By default the mouse is enabled, and <RightMouse> opens a |popup-menu| with
@ -100,7 +99,10 @@ the following:
\ autocmd CursorMoved * ++once set mouse&<Bar>
\ echo 'mouse ON'<CR>
<
To remove the "How-to disable mouse" menu item and the separator above it: >vim
aunmenu PopUp.How-to\ disable\ mouse
aunmenu PopUp.-1-
<
Default Mappings ~
*default-mappings*
Nvim creates the following default mappings at |startup|. You can disable any