screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: titlestring in vim


From: Phil!Gregory
Subject: Re: titlestring in vim
Date: Mon, 21 Nov 2005 14:17:29 -0500
User-agent: Mutt/1.5.11

* bill <address@hidden> [2005-11-20 16:26 +0000]:
> The titlestring option in vim does a nice job of changing the title on 
> xterms, but it doesn't seem to be updating my status line.  Does anyone 
> have any experience with that?  My hardstatus string is:
> 
> "%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{..G} %{..Y} %m/%d %C%a "
> 
> I thought the %t was basically equivalent to the xterm title.

No; %t is for the name that screen associates with the current window.
You probably want to use %h.  %h represents the stored hardstatus string
for the current window (and if a program uses the xterm title escape
sequence from within screen, screen treats the supplied string as a
hardstatus string).

-- 
...computer contrarian of the first order... / http://aperiodic.net/phil/
PGP: 026A27F2  print: D200 5BDB FC4B B24A 9248  9F7A 4322 2D22 026A 27F2
--- --
can't go mucking with a `void *'
                       -- Apple MPW C Compiler error message
---- --- --




reply via email to

[Prev in Thread] Current Thread [Next in Thread]