Monday, April 4, 2011

vim seems to ignore titleold

When I exit vim it resets the title of my screen session, the relevant
lines in my .vimrc are:

if $INSCREEN != ""
"This is profoundly broken if we're not in screen.
set t_ts=^[k
set t_fs=^[\
let &titleold=$sTITLE
set title
endif

$INSCREEN is set to true if I am within screen (handled externally)
$sTITLE is set to "zsh" before vim starts.

However, on exit, vim is retrieving the title from my parent window
(urxvt) and setting the screen title to that. Is it related to those
escapes (t_ts, t_fs)? I found them in a tip on the wiki which said
"use this to make it work", and it did for the most part.

What do I have to do to force it to use titleold?

Cheers

richo

--
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

No comments: