"Mode-dependent cursor in vim" using mintty AND using GNU Screen?

171 views
Skip to first unread message

saam...@gmail.com

unread,
Aug 24, 2012, 5:33:52 PM8/24/12
to mintty-...@googlegroups.com
"Mode-dependent cursor in vim" using mintty AND using GNU Screen? Use \eP and \e\ to escape the control sequence in $HOME/.vimrc:

let &t_ti.="\eP\e[1 q\e\\"
let &t_te.="\eP\e[0 q\e\\"

let &t_SI.="\eP\e[5 q\e\\"
let &t_EI.="\eP\e[1 q\e\\"

syntax on

https://plus.google.com/110860299900460184325/posts/jENwmWk9Usz

Took me about 2 hours to figure out, but I got it working =)

Andy Koppe

unread,
Aug 29, 2012, 2:40:37 PM8/29/12
to mintty
On Aug 24, 10:33 pm, saama...@gmail.com wrote:
> "Mode-dependent cursor in vim" using *mintty* AND using *GNU Screen*? Use
> \eP and \e\ to escape the control sequence in $HOME/.vimrc:
>
> let &t_ti.="\eP\e[1 q\e\\"
> let &t_te.="\eP\e[0 q\e\\"
>
> let &t_SI.="\eP\e[5 q\e\\"
> let &t_EI.="\eP\e[1 q\e\\"
>
> syntax on
>
> https://plus.google.com/110860299900460184325/posts/jENwmWk9Usz
>
> Took me about 2 hours to figure out, but I got it working =)

Thanks for posting the solution!

Andy

Datta....@druva.com

unread,
Apr 2, 2013, 7:58:35 AM4/2/13
to mintty-...@googlegroups.com, saam...@gmail.com
Thanks :-)

dim...@gmail.com

unread,
May 2, 2013, 2:49:45 PM5/2/13
to mintty-...@googlegroups.com, saam...@gmail.com
Thank you!!!
Reply all
Reply to author
Forward
0 new messages