I can get the name vim to display in my window by doing the following:
let &titlestring = expand("%:t") . " @ " . hostname() if &term == "screen" set t_ts=^[k set t_fs=^[\ endif if &term == "screen" || &term == "xterm" set title endif
But the tabs will say "Default."
From the command line, I can do this:
echo -ne "\e]1;hello world\a"
And it will show "Hello World" on my tabs.
Is there a way to get vim to write this stuff to my tab instead of the name?
vim tabs iterm
dd
source share