Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
backdround opened this issue Feb 1, 2024 · 0 comments

Comments

@backdround
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant