|
@@ -40,11 +40,11 @@ M.config = function()
|
|
-- buffer_previewer_maker = require("telescope.previewers").buffer_previewer_maker,
|
|
-- buffer_previewer_maker = require("telescope.previewers").buffer_previewer_maker,
|
|
mappings = {
|
|
mappings = {
|
|
i = {
|
|
i = {
|
|
- ["<C-n>"] = actions.cycle_history_next,
|
|
|
|
- ["<C-p>"] = actions.cycle_history_prev,
|
|
|
|
|
|
+ ["<C-n>"] = actions.move_selection_next,
|
|
|
|
+ ["<C-p>"] = actions.move_selection_previous,
|
|
["<C-c>"] = actions.close,
|
|
["<C-c>"] = actions.close,
|
|
- ["<C-j>"] = actions.move_selection_next,
|
|
|
|
- ["<C-k>"] = actions.move_selection_previous,
|
|
|
|
|
|
+ ["<C-j>"] = actions.cycle_history_next,
|
|
|
|
+ ["<C-k>"] = actions.cycle_history_prev,
|
|
["<C-q>"] = actions.smart_send_to_qflist + actions.open_qflist,
|
|
["<C-q>"] = actions.smart_send_to_qflist + actions.open_qflist,
|
|
["<CR>"] = actions.select_default + actions.center,
|
|
["<CR>"] = actions.select_default + actions.center,
|
|
-- To disable a keymap, put [map] = false
|
|
-- To disable a keymap, put [map] = false
|