Kyle Marek
unread,Jun 14, 2022, 7:45:12 PM6/14/22Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to v...@vim.org
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