Vim Tips Wiki
Explore
Main Page
All Pages
Community
Interactive Maps
Community portal
To do
FANDOM
Fan Central
BETA
Games
Anime
Movies
TV
Video
Wikis
Explore Wikis
Community Central
Start a Wiki
Don't have an account?
Register
Sign In
Sign In
Register
Vim Tips Wiki
1,649
pages
Explore
Main Page
All Pages
Community
Interactive Maps
Community portal
To do
Editing
Get vim 5.x window in vim 6.x
Back to page
Edit
Edit source
View history
Talk (0)
We recommend that you
log in
before editing. This will allow other users to leave you a message about your edit, and will let you track edits via your
Watchlist
.
Creating an account
is quick and free.
Anti-spam check. Do
not
fill this in!
{{review}} {{TipImported |id=87 |previous=86 |next=88 |created=July 14, 2001 |complexity=basic |author=Leif Wickland |version=6.0 |rating=7/4 |category1= |category2= }} The format of the window title in Vim 5.x (well, at least for 5.7,.8, for Win32) used to be VIM - <full filename with path>. It's not in the win32 binary of 6.0an that I found. I want my old way back. Turns out, all that it takes to get it back is :set title titlestring=VIM\ -\ %F "make sure that the window caption setting is turned on and set caption to Vim 5.x style Oh, however, one thing I did like about the 6.0 style is that it puts the word "help" in the title when the current buffer is a help file; so, I just tacked %h to my titlestring giving: :set title titlestring=VIM\ -\ %F\ %h "make sure that the window caption setting is turned on and set caption to Vim 5.x style ==References== *{{help|'titlestring'}} *{{help|'statusline'}} ==Comments==
Summary:
Please note that all contributions to the Vim Tips Wiki are considered to be released under the CC-BY-SA
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Help
(
view source
)
Template:Navigation
(
view source
)
Template:Review
(
view source
)
Template:TipImported
(
view source
)
Follow on IG
TikTok
Join Fan Lab