On 11/01/09 22:43, Renato Alves wrote:
> Hi everyone,
>
> I've been troubled by this issue some time ago but I didn't report it
> because I was not sure it was caused by colorscheme or other situation
> external to vim. Today other people (in IRC) confirmed the problem and
> suggested reporting it.
>
> The picture [1] represents the problem.
> The visual-block operation makes the cursor "invisible". This only
> happens on the _1st character_ of each line and when numbers are active.
> In the picture I had the same selection are in both sections, but in the
> one with numbers the cursor is not visible. If I start the visual block
> from the 3rd character and then move till the 1st all the selection is
> visible except the cursor position. This is visible with the third
> (without numbers) and fourth (with numbers) sections of the picture.
> I tried this both on urxvt and xterm and always got the same behavior.
>
> Cheers
>
> [1] http://apollo.dq.fct.unl.pt/~al1133/visual-block-xterm.png

On X11 (where your mail headers say you're running), and on Unix/Linux 
in general (since even when X11 is running you can often use text-only 
consoles which completely bypass X11), Console Vim has little control 
over the cursor display, and what control there is is badly documented 
because it requires setting control codes which may be different for 
each terminal; see ":help termcap-cursor-color" (which is the same 
paragraph as |termcap-cursor-shape|).

For much better control (both finer and better documented, since it's 
all in the excellent Vim help), I recommend using gvim rather than 
Console Vim: there you can set the color of the cursor using the Cursor 
highlight group, and its shape and blinking rate (separately for a 
number of circumstances) using the 'guicursor' option.


Best regards,
Tony.
-- 
When a fellow says, "It ain't the money but the principle of the
thing," it's the money.
                -- Kim Hubbard

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui