neovim-qt: titlestring doesn't work during VIMEnter

Doesn’t seem to matter what I have set my titlestring to, but the following or similar doesn’t work: autocmd VIMEnter * set titlestring=foo

The title remains as “Neovim”. Additionally, manually trying set titlestring=foo won’t work after startup. You have to change the title bar to something else than what was set during VIMEnter for it to work.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 18 (6 by maintainers)

Most upvoted comments

@zvirja I didn’t try it on the command line, but in two steps:

  1. nvim-qt c:\log.txt
  2. (in the freshly opened nvim-qt window) :set title

So, the issue is not solved. But at least setting the title by hand after nvim is freshly opened (might be about 4 seconds after the command nvim-qt c:\log.txt was issued) works.

However if I open a file with my terminal $nvim-qt filename the title is not set.

I see it, its mostly the same as the original bug report. This needs to be checked upstream.

Testing here it does set the buffer name in the window title.

  • is set title on?
  • are you using a custom titlestring?