Sanchayan Maity
c25188661b
This plugin provides support for Quickfix and Location list along with previews. Also, does not do fuzzy match on file names which is useful. Move some of the commands from fzf to fzf-preview as it provides previews for those as well. Using pedit for previews for quickfix list wasn't super comfortable. Drop it, now that we have quickfix preview with fzf-preview.
18 lines
415 B
VimL
18 lines
415 B
VimL
" 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> [- :colder<CR>
|
|
nnoremap <buffer> ]+ :cnewer<CR>
|
|
nnoremap <buffer> <Leader>g :Cfilter<SPACE>
|