Closed rbjorklin closed 2 months ago
Nevermind. I think the right place to configure this is in telescope
itself. I can get the desired behaviour (even without touching insert_only
) by doing the following:
local status, telescope = pcall(require, "telescope")
if (not status) then return end
telescope.setup({
defaults = {
mappings = {
i = {
["<esc>"] = require('telescope.actions').close,
},
}
}
})
Describe the bug I have set
insert_only = true
for inputs but the same option does not exist for select boxes causing inconsistent behaviour. It would be fantastic to have both boxes behave the same by either a global toggle or one per type.System information
vim.ui.select
backend? If so, which one?To Reproduce Steps to reproduce the behavior:
1. 2. 3.
If possible, provide a minimal file that will trigger the issue (see tests/manual for examples of short ways to call
vim.ui.*
):Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.