chore: remove minipick control q mapping helper
This commit is contained in:
+1
-13
@@ -31,18 +31,6 @@ return {
|
||||
end
|
||||
if #items == 0 then return vim.notify('No changes', vim.log.levels.INFO) end
|
||||
|
||||
MiniPick.start({
|
||||
source = { items = items, name = 'Git Status', show = show },
|
||||
mappings = {
|
||||
quickfix = {
|
||||
char = '<C-q>',
|
||||
func = function()
|
||||
local m = MiniPick.get_picker_matches()
|
||||
MiniPick.default_choose_marked(#m.marked > 0 and m.marked or m.all)
|
||||
return true
|
||||
end,
|
||||
},
|
||||
},
|
||||
})
|
||||
MiniPick.start({ source = { items = items, name = 'Git Status', show = show } })
|
||||
end,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user