Tuesday, May 28, 2019

Re: Cursor shape in the console

On Tue, May 28, 2019 at 4:31 PM Tony Mechelynck
<antoine.mechelynck@gmail.com> wrote:
>
> This simpler version works in konsole but does nothing in xterm and in
> the Linux console. I haven't found how to make it work in both konsole
> and xterm but I'm giving up, I don't use Vim in xterm that much. Also
> I left out the test on exists('&t_SR') because I on't use Vim 7 (or
> earlier) anymore at all.
>
> if !has('gui_running') && has('cursorshape')
> let &t_EI = "\<Esc>]50;CursorShape=0\x7"
> let &t_SI = "\<Esc>]50;CursorShape=1\x7"
> let &t_SR = "\<Esc>]50;CursorShape=2\x7"
> endif


cool beans tony, thanx! i didn't know terminal vim in konsole could do that!

tp

--
--
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 vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CALfSX1xu8h70MZzidiPtknqGBOk%3DbQxLQzJb9HZm3Ft1j%2B26kA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment