dotfiles/nvim/.config/nvim/after/ftplugin/qf.vim

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
430 B
VimL
Raw Normal View History

" 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>