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?
Then, to get back to the Quickfix List I type Ctrl + W j for "move down a window" and I'm back. Finally, when I'm done, I just type :q , like I would to close any normal window.
To close the quickfix window, you use :cclose , as @statox mentioned in the comments.
This should work
autocmd Filetype qf setlocal statusline=\ %n\ \ %f%=%L\ lines\
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With