mirror of
https://github.com/neovim/neovim.git
synced 2026-04-20 22:35:33 +00:00
docs: lua error patterns #30240
Co-authored-by: Mathias Fussenegger <f.mathias@zignar.net> Co-authored-by: Ananth Bhaskararaman <antsub@gmail.com>
This commit is contained in:
@@ -67,7 +67,7 @@ Defaults *nvim-defaults*
|
||||
- 'langremap' is disabled
|
||||
- 'laststatus' defaults to 2 (statusline is always shown)
|
||||
- 'listchars' defaults to "tab:> ,trail:-,nbsp:+"
|
||||
- 'mouse' defaults to "nvi"
|
||||
- 'mouse' defaults to "nvi", see |default-mouse| for details
|
||||
- 'mousemodel' defaults to "popup_setpos"
|
||||
- 'nrformats' defaults to "bin,hex"
|
||||
- 'path' defaults to ".,,". The C ftplugin adds "/usr/include" if it exists.
|
||||
@@ -101,12 +101,14 @@ Defaults *nvim-defaults*
|
||||
|
||||
DEFAULT MOUSE
|
||||
*default-mouse* *disable-mouse*
|
||||
By default the mouse is enabled, and <RightMouse> opens a |popup-menu| with
|
||||
standard actions ("Cut", "Copy", "Paste", …). Mouse is NOT enabled in
|
||||
|command-mode| or the |more-prompt|, so you can temporarily disable it just by
|
||||
typing ":".
|
||||
By default the mouse is enabled. This means |scroll-mouse-wheel| will scroll
|
||||
the window instead of moving the cursor; <LeftMouse> click places the cursor;
|
||||
and <RightMouse> click opens the default |popup-menu| with standard actions.
|
||||
|
||||
Mouse is NOT enabled in |Cmdline-mode| or the |more-prompt|, so you can
|
||||
temporarily disable it just by typing ":". Or if you want to partially or
|
||||
fully disable the mouse or popup-menu, do any of the following:
|
||||
|
||||
Or you can disable the popup-menu using any of the following:
|
||||
- Disable mouse completely by unsetting the 'mouse' option: >vim
|
||||
set mouse=
|
||||
- Change the 'mousemodel', so <RightMouse> extends selection instead of
|
||||
|
||||
Reference in New Issue
Block a user