I have a blinking block cursor in the XTerm. The goal is to always be able to tell my current position. It usually works fine, but it fails when I place my cursor on a background similar to the cursor color - a prime example for what I mean are searches in Vim: they have yellow background, my cursor is white (due to
.Xesources), and because of this I can hardly tell which of the highlighted results is the current one.
I'd like to have my cursor invert the current character color, so that I can still have yellow search results (but the character pointed by the cursor will have dark background and light text when the cursor blinks). The solution should work at least for this specific scenario.
I'm not sure if this is something that should be done in Vim, or in XTerm's configuration. I tried to search for this on the web and in the manpages, but failed to find anything relevant.
Note that I don't use gvim, I use console Vim. Many resources mention
guibg=reverse for Vim, but this won't work here.