small fix
This commit is contained in:
@ -10,6 +10,16 @@ return {
|
||||
winhighlight = "Normal:Normal,FloatBorder:BorderBG,CursorLine:PmenuSel,Search:None",
|
||||
},
|
||||
},
|
||||
hooks = {
|
||||
after_mount = function(input)
|
||||
local opts = { buffer = input.bufnr }
|
||||
|
||||
vim.keymap.set("i", "<Up>", "<Plug>(searchbox-prev-match)", opts)
|
||||
vim.keymap.set("i", "<Down>", "<Plug>(searchbox-next-match)", opts)
|
||||
vim.keymap.set("i", "<S-CR>", "<Plug>(searchbox-prev-match)", opts)
|
||||
vim.keymap.set("i", "<CR>", "<Plug>(searchbox-next-match)", opts)
|
||||
end,
|
||||
},
|
||||
})
|
||||
end,
|
||||
}
|
||||
|
Reference in New Issue
Block a user