John Little <John.B.Little <at> gmail.com> writes: > On Wednesday, February 11, 2015 at 4:48:12 AM UTC+13, Paul wrote: >> I'm using Cygwin's X-windows. > > Seems like you have an insufficiently visible cursor. In gvim I use > > set guicursor=n-c:hor20,v:hor25,ve:ver35,o:hor50,i-ci:ver25, > \r-cr:hor35-ErrorMsg,sm:block > " this looks odd, but it works; the second setting of guicursor > " does not undo the previous settings > set guicursor=a:blinkwait200-blinkon200-blinkoff200 > > for a 5 Hz blink.
I realized after answering that the problem wasn't well described. The problem isn't determining which X-windows window (or Microsoft Windows window) has the focus. It's determining which of the many vim windows has the focus, and where in the cursor is, when there are many vim windows opened and the font is small. All the vim windows are subwindows within a single instance of gvim; so, the same X-windows window (or Microsoft Windows window) has the focus of which vim window has the focus within vim. I find that I need to have a large "targeting" indicator to show which vim window has the focus, and where the cursor is within it. (This is different from the where the mouse pointer is.) I don't think that changing the cursor will do it when there are enough windows open, especially with syntax highlighting on. But I tried your settings anyway. The first command generates the error "E518: Unknown option: r-cr:hor35-ErrorMsg,sm:block" and makes the cursor into an underscore rather than a block. I can't get it back to a block even after running my vimrc, which consists of: set gcr-=sm:block-Cursor-blinkwait175-blinkoff150-blinkon175 set gcr+=a:blinkon725-blinkoff400 -- -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
