Tintin72 写道:
> Hi,
>
> In Vim under Windows, when I shift in insert mode, cursor turn to an
> underscore _.
> It's very handy cause I alway know wich mode I'm in.
> Unfortunately when I run VIm under Linux (Ubuntu), cursor
> remain the same (square) in command or insert mode and it's confused
> me.
>
> Is there any way to change the shape of the cursor when shifting in
> insert mode ?
This is specific to the terminal, for example, Konsole in KDE4 can
change the shape of cursor, try the following:
let &t_SI = "\<Esc>]50;CursorShape=1\x7"
let &t_EI = "\<Esc>]50;CursorShape=0\x7"
This will give what you want, if you are using ubuntu intrepid you can
simply run sudo apt-get install konsole.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---