How to disable <CR> when entering vim-visual-multi and reconfigure <CR> when exiting vim-visual-multi #2116
Answered
by
soifou
qqliyunpeng
asked this question in
Q&A
-
NVIM v0.10.4 M.visualMulConfig = function ()
local blink = require("blink.cmp")
vim.api.nvim_create_autocmd("User", {
pattern = "visual_multi_start",
callback = function ()
vim.keymap.del("i", "<CR>", { buffer = 0 })
end
})
vim.api.nvim_create_autocmd("User", {
pattern = "visual_multi_exit",
callback = function ()
??? <---
end
})
end |
Beta Was this translation helpful? Give feedback.
Answered by
soifou
Sep 3, 2025
Replies: 1 comment
-
You can follow #406, there are some workarounds until it's fixed. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
qqliyunpeng
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can follow #406, there are some workarounds until it's fixed.