telescope-ui-select.nvim
telescope-ui-select.nvim copied to clipboard
Doesn't restore the insert mode after pick or after closing the window
To reproduce:
- Launch the following selection by
<M-d>mapping:
local select = function()
vim.ui.select({ "a", "b", "c" }, {
}, function()
-- normal mode here
end)
end
vim.keymap.set("i", "<M-d>", select)
- Close the selection by
<Esc>
The default selection preserves the insert mode.