/ nvim / lua / plugins / quickfix.lua
quickfix.lua
 1  --- nvim-bqf: better quickfix window
 2  return {
 3    specs = {
 4      { src = 'https://github.com/kevinhwang91/nvim-bqf', name = 'nvim-bqf' },
 5    },
 6    config = function()
 7      local bqf = require('bqf')
 8      if type(bqf) == 'table' and bqf.setup then
 9        bqf.setup({
10          auto_enable = true,
11          magic_window = true,
12          auto_resize_height = false,
13          preview = {
14            auto_preview = true,
15            border = 'rounded',
16            show_title = true,
17            show_scroll_bar = true,
18            delay_syntax = 50,
19            win_height = 15,
20            win_vheight = 15,
21            winblend = 12,
22            wrap = false,
23            buf_label = true,
24          },
25          filter = {
26            fzf = {
27              action_for = {
28                ['ctrl-t'] = 'tabedit',
29                ['ctrl-v'] = 'vsplit',
30                ['ctrl-x'] = 'split',
31                ['ctrl-q'] = 'signtoggle',
32                ['ctrl-c'] = 'closeall',
33              },
34              extra_opts = { '--bind', 'ctrl-o:toggle-all' },
35            },
36          },
37        })
38      end
39    end,
40  }