telescope: Add mapping to close picker with q in normal mode

This commit is contained in:
Akianonymus 2022-05-08 21:47:27 +05:30 committed by siduck
parent d912bbe67c
commit 08a16b9201
1 changed files with 3 additions and 0 deletions

View File

@ -50,6 +50,9 @@ local options = {
qflist_previewer = require("telescope.previewers").vim_buffer_qflist.new,
-- Developer configurations: Not meant for general override
buffer_previewer_maker = require("telescope.previewers").buffer_previewer_maker,
mappings = {
n = { ["q"] = require("telescope.actions").close },
},
},
}