aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-01-03 00:09:35 +0100
committerJustin M. Keyes <justinkz@gmail.com>2019-01-04 01:28:44 +0100
commit37a499148ffda85a089042b4879fa0182c116f9f (patch)
treef17d73b2ecd502a2c30f8140a2f344da5012b348 /runtime
parente2d71d11de9282521e931d832a92154acd341ef0 (diff)
downloadrneovim-37a499148ffda85a089042b4879fa0182c116f9f.tar.gz
rneovim-37a499148ffda85a089042b4879fa0182c116f9f.tar.bz2
rneovim-37a499148ffda85a089042b4879fa0182c116f9f.zip
Visual: highlight char-at-cursor
Decide whether to highlight the visual-selected character under the cursor, depending on 'guicursor' style: - Highlight if cursor is blinking or non-block (vertical, horiz). - Do NOT highlight if cursor is non-blinking block. Traditionally Vim's visual selection does "reverse mode", which perhaps conflicts with the non-blinking block cursor. But 'guicursor' defaults to a vertical bar for selection=exclusive, and this confuses users who expect to see the text highlighted. closes #8983
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/vim_diff.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt
index 3915763eed..db856ceb65 100644
--- a/runtime/doc/vim_diff.txt
+++ b/runtime/doc/vim_diff.txt
@@ -357,6 +357,9 @@ TUI:
and has a 'ttybuiltin' setting to control how that combination works. Nvim
uses one or the other, it does not attempt to merge the two.
+UI/Display:
+ |Visual| selection highlights the character at cursor. |visual-use|
+
VimL (Vim script) compatibility:
`count` does not alias to |v:count|
`errmsg` does not alias to |v:errmsg|