telescope-ui-select.nvim icon indicating copy to clipboard operation
telescope-ui-select.nvim copied to clipboard

Doesn't restore the insert mode after pick or after closing the window

Open backdround opened this issue 1 year ago • 0 comments

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.

backdround avatar Feb 01 '24 14:02 backdround