nnoremap <silent> <buffer> q :cclose<CR>
setlocal nocursorline
autocmd! CursorHold <buffer>

nnoremap <silent> <buffer> q :cclose<CR>
setlocal nocursorline
setlocal nobuflisted
autocmd! CursorHold <buffer>

Remove quickfix from buffer list
Remove quickfix from buffer list

This means it won't become the main buffer when doing :bnext

keith/dotfiles,keith/dotfiles,keith/dotfiles,keith/dotfiles,keith/dotfiles,keith/dotfiles