Oh silly me. Now I understand.
After some experimenting I still have some questions.
1. I'd like to have _only_ the title (or path/title if I must) in the
titlebar and have the old title restored when I exit vim but I haven't
yet figured out how to do that after trying various combinations of
set title
set titleold
set titlestring or set titlestring ""
I keep getting the "flying" message.
2. Where or what are the defaults for 'title' 'titleold' 'titlestring'
and 'ttybuiltin' so I can have a "typical" title with the current
filename and (if applicable) the "servername".
If I have no entries at all for the above there is no "typical" title
with filename etc.
I've changed ~/.vimrc but not /etc/vim/vimrc but there is no 'title'
string in either of these as delivered so I'm confused as to the defaults.
Larry
Max Dyckhoff wrote:
:he means :help, so :he 'title' is suggesting that you read the help file for
the solution that you need. Including :he 'title' in your .vimrc will upset
things :)
Max
-----Original Message-----
From: Larry Alkoff [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 21, 2006 4:19 PM
To: A.J.Mechelynck
Cc: Yakov Lerner; VIM mail list
Subject: Re: Howto stop "Thanks for flying Vim" on Konsole Window
Titlebar?
A.J.Mechelynck wrote:
Larry Alkoff wrote:
Yakov Lerner wrote:
On 9/21/06, Larry Alkoff <[EMAIL PROTECTED]> wrote:
Whenever I run Vim, the statement
Thanks for flying Vim - Shell - Console
appears on the Konsole Window Titlebar (the blue one at the top).
What is causing this and how can I stop it?
:he 'title'
:he 'titleold'
:he 'titlestring'
Yakov
Thanks Yakow. I had mistakenly 'set title' in ~/.vimrc.
Commenting it out fixed the problem.
Larry
It may depend on your Vim version and on your running environment. In my
Gnome2 GUI-enabled Vim, I don't set anything but 'title' is set by
default in konsole, and it displays, for instance, "[No Name] + - VIM -
Shell - Konsole" where [No Name] changes to the current filename and +
appears if the file is 'modified'. I have 'term' and $TERM both set to
"xterm" which ought to mean that the title can be restored. I also have
'ttybuiltin' on (the default) which means that the builtin termcap
(which contains a 't_ts' setting for the "xterm" terminal) will be used
in preference to an external termcap or terminfo. In turn, t_ts defined
means that (if the value is correct) the window title can be restored.
Morality: Leave 'title' 'titleold' 'titlestring' and 'ttybuiltin' at
their defaults and you sould have a "typical" title with the current
filename and (if applicable) the "servername". (Note: The reason
'ttybuiltin' is on by default is that, according to Bram, many systems
have fulty termcaps...)
Best regards,
Tony.
After viewing the entire help file, I'm more confused than ever.
In what file should I leave title' 'titleold' 'titlestring' and
'ttybuiltin' at their defaults?
I tried putting:he 'title'
:he 'titleold'
:he 'titlestring'
in ~/.vimrc and vim complains when I try to open a file.
I'm not sure vim is going to let me edit ~/.vimrc again.
Also the help file mentions nothing about something like the above
:he 'string'
Where do these go? :he means header?
I'm using vim 1:6.4-006+2ubuntu under Kubuntu 6.0.6.
Larry