adds autocommand to unbind enter key when in quickfix list
succesfully tested
This commit is contained in:
parent
00ccb5c8fb
commit
6ee1ee7a0a
1 changed files with 8 additions and 0 deletions
|
|
@ -2,6 +2,14 @@ return {
|
||||||
"folke/flash.nvim",
|
"folke/flash.nvim",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
opts = {},
|
opts = {},
|
||||||
|
config = function()
|
||||||
|
vim.api.nvim_create_autocmd("BufReadPost", {
|
||||||
|
pattern = "quickfix",
|
||||||
|
callback = function()
|
||||||
|
vim.keymap.set("n", "<CR>", "<CR>", { buffer = true })
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
end,
|
||||||
keys = {
|
keys = {
|
||||||
{
|
{
|
||||||
"<CR>",
|
"<CR>",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue