" Always open QF window at the bottom
wincmd J
" Quit vim if the last window is qf
autocmd! BufEnter <buffer> if winnr('$') < 2| q | endif

setlocal scrolloff=0
setlocal nowrap
setlocal norelativenumber number
setlocal linebreak
setlocal nolist
setlocal nocursorline
setlocal nobuflisted
setlocal nospell

nnoremap <buffer> <Leader>- :colder<CR>
nnoremap <buffer> <Leader>+ :cnewer<CR>
nnoremap <buffer> <Leader>g :Cfilter<SPACE>
