Hello,
as many others, i was interested in changing the cursor shape. For KDE4
and GNOME i found these solutions:
In KDE4 : Put
<code>
let &t_SI = "\<Esc>]50;CursorShape=1\x7"
let &t_EI = "\<Esc>]50;CursorShape=0\x7"
</code>
into your vimrc.
In GNOME 2.26 : Put
<code>
if has("autocmd")
au InsertEnter * silent execute "!gconftool-2 --type string
--set /apps/gnome-terminal/profiles/Default/cursor_shape ibeam"
au InsertLeave * silent execute "!gconftool-2 --type string
--set /apps/gnome-terminal/profiles/Default/cursor_shape block"
au VimLeave * silent execute "!gconftool-2 --type string
--set /apps/gnome-terminal/profiles/Default/cursor_shape ibeam"
endif
</code>
into your vimrc. (In case they get wrapped in this post: these are five
lines.) If you use more than one profile in gnome-terminal, you might
have to tweak this a little.
Have a nice day,
André
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---