Thursday, April 24, 2025

Re: Auto set xfce4-terminal tab to currently edited file?

On 2025-04-24, Christian Brabandt wrote:
> On Thu, 24 Apr 2025, Steven H. wrote:
>
> > Is there a way to automatically set xfce4-terminal tab's name to the
> > name of the file currently opened in vim?
>
> It may work by setting the 'titlestring' option. But not sure if this
> ends up as the tab name for xfce4. Check the help at :h 'titlestring'

It works for me with no options manually set:

$ vim -N -u NONE -i NONE testfile

The 'title' option is set automatically.

I'm using xfce4-terminal 0.8.9.1 on Ubuntu 20.04.6 over an ssh
connection.

Regards,
Gary

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/20250424173831.GD30799%40phoenix.

No comments: