Q:

Is it possible to show the current file I have open in vim in my screen tabs?

Was wondering if it'd be possible to somehow show the current file I'm editing in the tabs of my screen

Because it'd be way easier to know what I'm switching between.

A:

I have this (indirectly) in my ~/.vimrc:
let &titlestring = "Editing: " . expand("%:p")
if &term == "screen"
  set t_ts=^[k
  set t_fs=^[\
endif
if &term == "screen" || &term == "xterm"
  set title
endif

It changes my terminal tab, and I assume from reading it (and the screen(1) man page) that it should work with screen as well.

