diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2024-09-24 04:46:50 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-24 04:46:50 -0700 |
commit | 3f6bc34e663c62bc8899dcdc65bf204b2ccfdaec (patch) | |
tree | 447732924440ecc91783e26232cd77dc80a1049b /runtime/doc/vim_diff.txt | |
parent | 2276743cb8e13483ba15695ef0a1ea65263e825f (diff) | |
download | rneovim-3f6bc34e663c62bc8899dcdc65bf204b2ccfdaec.tar.gz rneovim-3f6bc34e663c62bc8899dcdc65bf204b2ccfdaec.tar.bz2 rneovim-3f6bc34e663c62bc8899dcdc65bf204b2ccfdaec.zip |
docs: lua error patterns #30240
Co-authored-by: Mathias Fussenegger <f.mathias@zignar.net>
Co-authored-by: Ananth Bhaskararaman <antsub@gmail.com>
Diffstat (limited to 'runtime/doc/vim_diff.txt')
-rw-r--r-- | runtime/doc/vim_diff.txt | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt index d0868b5605..d8369cd6ce 100644 --- a/runtime/doc/vim_diff.txt +++ b/runtime/doc/vim_diff.txt @@ -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 |