From b9ca4a157e5b2f2b34ca3800c79fc5b0f993e7d1 Mon Sep 17 00:00:00 2001 From: Abouzar Parvan Date: Sat, 31 Jul 2021 09:03:23 +0430 Subject: make telescope keybindings more sane (#1154) --- lua/core/telescope.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lua/core/telescope.lua b/lua/core/telescope.lua index 65760d6c..37d59982 100644 --- a/lua/core/telescope.lua +++ b/lua/core/telescope.lua @@ -40,11 +40,11 @@ M.config = function() -- buffer_previewer_maker = require("telescope.previewers").buffer_previewer_maker, mappings = { i = { - [""] = actions.cycle_history_next, - [""] = actions.cycle_history_prev, + [""] = actions.move_selection_next, + [""] = actions.move_selection_previous, [""] = actions.close, - [""] = actions.move_selection_next, - [""] = actions.move_selection_previous, + [""] = actions.cycle_history_next, + [""] = actions.cycle_history_prev, [""] = actions.smart_send_to_qflist + actions.open_qflist, [""] = actions.select_default + actions.center, -- To disable a keymap, put [map] = false -- cgit v1.2.3