aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/nvim/.config/nvim/lua/tobyvin/plugins/nvim-bqf.lua
blob: 0857aa64b35178d5bf7c7075481d897f0510191c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
local M = {
	"kevinhwang91/nvim-bqf",
	ft = "qf",
	dependencies = {
		"nvim-treesitter/nvim-treesitter",
	},
}

function M.config()
	local bqf = require("bqf")

	bqf.setup({
		auto_resize_height = true,
		preview = {
			border_chars = { "│", "│", "─", "─", "┌", "┐", "└", "┘", "█" },
		},
		func_map = {
			open = "o",
			openc = "<cr>",
			tabc = "t",
			tab = "<C-t>",
			pscrollup = "<C-u>",
			pscrolldown = "<C-d>",
		},
	})
end

return M