Monday, July 25, 2022

Re: Highlight character under cursor in visual mode

> Why doesn't vim apply the Visual highlight to the character *at* the
> cursor position in visual mode? Block cursors are nice and all, but
> sometimes you're at a tty where you have an underline, and the lack of
> highlighting is confusing.
>
> Is there a way to get vim to include the character under the cursor for
> visual highlighting?

Short answer: no.

Background: Various terminals behave differently about how the cursor is
displayed. Also the cursor shape may depend on whether the terminal is
in focus or not. To avoid that the cursor disappears (which is a big
problem) the Visual highlighting is not applied to the character under
the cursor. That may look a little bit strange (small problem) but
you'll get used to it.

--
hundred-and-one symptoms of being an internet addict:
113. You are asked about a bus schedule, you wonder if it is 16 or 32 bits.

/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20220725093325.A71541C066C%40moolenaar.net.

No comments:

Post a Comment