Skip to content

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

@backdround

Description

@backdround

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions