Add telescope cycle prompt history keymappings (#909)

This commit is contained in:
hui.liu 2021-07-13 23:28:16 +08:00 committed by GitHub
parent cae6b7da4c
commit 6f0c8c20ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,6 +48,8 @@ M.config = function()
-- buffer_previewer_maker = require("telescope.previewers").buffer_previewer_maker,
mappings = {
i = {
["<C-n>"] = actions.cycle_history_next,
["<C-p>"] = actions.cycle_history_prev,
["<C-c>"] = actions.close,
["<C-j>"] = actions.move_selection_next,
["<C-k>"] = actions.move_selection_previous,