tags:

views:

132

answers:

1

I keep on forgetting which file I'm editing.

In Vim 7.x, how can I have a permenant status bar at the bototm (like what's displayed when I press Ctrl-g) showing the current file name I'm eidintg?

Thanks!

+7  A: 

From the manual, you're really just wanting:

set laststatus=2
set statusline=%f "tail of the filename

As an aside: if you're wanting a status line with a ton more information be sure to check out this link. It'll give you something a bit more fancier like so:-

alt text

Gavin Gilmour
status line still disappears ....
anon
check the edit, you're probably after "set ls=2"
Gavin Gilmour