tags:

views:

54

answers:

1

I'd like to give the Quick Fix window a different status line than all my other windows.

I want it to have:

set statusline=\ %n\ \ %f%=%L\ lines\ 

When I'm in the quick fix window, I can use :setlocal, but how in my .vimrc can I make it have a different status line?

+4  A: 

This should work

autocmd Filetype qf setlocal statusline=\ %n\ \ %f%=%L\ lines\ 
Nuz
Thanks. I only had to change "set" to "setlocal", and it's just what I wanted.
Ned Batchelder