Vim: remove line numbers and colorcolumn from quickfix window

Put the following into ~/.vim/ftplugin/qf.vim:

setlocal nonumber
setlocal colorcolumn=

As long as you have filetype plugin support enabled, that should handle it.


If you don't mind having an extra line in your ~/.vimrc instead:

au FileType qf setlocal nonumber colorcolumn=