Tuesday, June 14, 2022

Use bar cursor outside of gvim (send t_SI) in visual/select mode when selection=exclusive

Hello,

I like the behavior of gvim using a bar cursor during visual/select mode
when selection=exclusive and a block cursor when selection=inclusive.

I recently stumbled across the t_SI, t_SR, and t_EI options for changing
cursor shape when running vim in another terminal. That made me realize
that it should be possible to get the same behavior outside of gvim
(depending on terminal support), but the only option I was able to
locate for controlling cursor shape for visual mode is guicursor, which
only affects the gvim terminal.

Is there an existing option to use a bar cursor (and highlight the
character at the cursor position when on the left corner of the
selection) when selection=exclusive outside of gvim?

If there is not an existing option, would such a proposal be interesting?

If there is interest in this idea, could anyone give me pointers to
relevant locations in source code, and maybe I could try to implement it?

Thank you,
Kyle Marek

--
--
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/4004508b-9956-6c58-ebf9-dc058109180d%40gmail.com.

No comments: