Skip to content

Commit d103a52

Browse files
committed
nvim: remove advanced qf tooling
1 parent 1b398a7 commit d103a52

File tree

1 file changed

+0
-144
lines changed

1 file changed

+0
-144
lines changed

home/nvim/lua/plugins.lua

Lines changed: 0 additions & 144 deletions
Original file line numberDiff line numberDiff line change
@@ -995,150 +995,6 @@ return inject_all({
995995
},
996996
},
997997

998-
{
999-
"stevearc/quicker.nvim",
1000-
event = "VeryLazy",
1001-
opts = {
1002-
opts = {
1003-
winfixheight = false,
1004-
},
1005-
on_qf = function(bufnr) end,
1006-
keys = {
1007-
{
1008-
"q",
1009-
function()
1010-
vim.cmd.q()
1011-
if not require("bqf.preview.handler").autoEnabled() then
1012-
require("bqf.preview.handler").toggle()
1013-
end
1014-
end,
1015-
desc = "Close Quickfix",
1016-
},
1017-
{
1018-
">",
1019-
function()
1020-
vim.cmd("wincmd =")
1021-
if require("bqf.preview.handler").autoEnabled() then
1022-
require("bqf.preview.handler").toggle()
1023-
end
1024-
require("quicker").expand({ before = 2, after = 2, add_to_existing = true })
1025-
end,
1026-
desc = "Expand quickfix context",
1027-
},
1028-
{
1029-
"<",
1030-
function()
1031-
vim.cmd("copen 10")
1032-
if not require("bqf.preview.handler").autoEnabled() then
1033-
require("bqf.preview.handler").toggle()
1034-
end
1035-
require("quicker").collapse()
1036-
end,
1037-
desc = "Collapse quickfix context",
1038-
},
1039-
{
1040-
"J",
1041-
function()
1042-
local items = vim.fn.getqflist()
1043-
local lnum = vim.api.nvim_win_get_cursor(0)[1]
1044-
for i = lnum + 1, #items do
1045-
if items[i].valid == 1 then
1046-
vim.api.nvim_win_set_cursor(0, { i, 0 })
1047-
return
1048-
end
1049-
end
1050-
-- Wrap around the end of quickfix list
1051-
for i = 1, lnum do
1052-
if items[i].valid == 1 then
1053-
vim.api.nvim_win_set_cursor(0, { i, 0 })
1054-
return
1055-
end
1056-
end
1057-
end,
1058-
},
1059-
{
1060-
"K",
1061-
function()
1062-
local items = vim.fn.getqflist()
1063-
local lnum = vim.api.nvim_win_get_cursor(0)[1]
1064-
for i = lnum - 1, 1, -1 do
1065-
if items[i].valid == 1 then
1066-
vim.api.nvim_win_set_cursor(0, { i, 0 })
1067-
return
1068-
end
1069-
end
1070-
-- Wrap around the start of quickfix list
1071-
for i = #items, lnum, -1 do
1072-
if items[i].valid == 1 then
1073-
vim.api.nvim_win_set_cursor(0, { i, 0 })
1074-
return
1075-
end
1076-
end
1077-
end,
1078-
},
1079-
},
1080-
},
1081-
},
1082-
1083-
{
1084-
"kevinhwang91/nvim-bqf",
1085-
ft = "qf",
1086-
dependencies = {
1087-
{
1088-
"junegunn/fzf",
1089-
dir = vim.fn.stdpath("data") .. "/nixpkgs/fzf",
1090-
name = "fzf",
1091-
build = "./install --all",
1092-
},
1093-
{
1094-
"stevearc/quicker.nvim",
1095-
},
1096-
},
1097-
opts = {
1098-
func_map = {
1099-
open = "",
1100-
openc = "<cr>",
1101-
drop = "",
1102-
split = "<C-x>",
1103-
vsplit = "<C-v>",
1104-
tab = "",
1105-
tabb = "",
1106-
tabc = "",
1107-
tabdrop = "",
1108-
ptogglemode = "<tab>",
1109-
ptoggleitem = "",
1110-
ptoggleauto = "",
1111-
pscrollup = "",
1112-
pscrolldown = "",
1113-
pscrollorig = "zz",
1114-
prevfile = "",
1115-
nextfile = "",
1116-
prevhist = "<C-p>",
1117-
nexthist = "<C-n>",
1118-
lastleave = "",
1119-
stoggleup = "",
1120-
stoggledown = "",
1121-
stogglevm = "",
1122-
stogglebuf = "",
1123-
sclear = "",
1124-
filter = "",
1125-
filterr = "",
1126-
fzffilter = "f",
1127-
},
1128-
filter = {
1129-
fzf = {
1130-
action_for = {},
1131-
extra_opts = { "--multi", "--bind", "enter:toggle-all+accept" },
1132-
},
1133-
},
1134-
preview = {
1135-
winblend = 0,
1136-
border = { "", "", "", "", "", "", "", "" },
1137-
show_scroll_bar = false,
1138-
},
1139-
},
1140-
},
1141-
1142998
{
1143999
"mfussenegger/nvim-dap",
11441000
dependencies = {

0 commit comments

Comments
 (0)