Is it possible to make Gnome Terminal show the name of the file I am editting in vim as the tab title?
Solution 1:
From vim.wikia.com:
Add this to your .vimrc:
let &titlestring = hostname() . "[vim(" . expand("%:t") . ")]"
if &term == "screen"
set t_ts=^[k
set t_fs=^[\
endif
if &term == "screen" || &term == "xterm"
set title
endif
Solution 2:
More simple way for gnome-terminal, write below in your vimrc :
set title
autocmd BufRead * let &titlestring = expand("%:p")
show only filepath in title