From 318a011be6a23acc734efaab252f78debe73ca11 Mon Sep 17 00:00:00 2001 From: Dave Lage Date: Thu, 3 Sep 2020 13:27:30 -0400 Subject: [PATCH] Add arrow key mappings for insert and normal mode. (#21) --- lua/telescope/pickers.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lua/telescope/pickers.lua b/lua/telescope/pickers.lua index ec515c4..23b5917 100644 --- a/lua/telescope/pickers.lua +++ b/lua/telescope/pickers.lua @@ -32,6 +32,10 @@ local default_mappings = { i = { [""] = actions.move_selection_next, [""] = actions.move_selection_previous, + + [""] = actions.move_selection_next, + [""] = actions.move_selection_previous, + [""] = actions.goto_file_selection, }, @@ -42,6 +46,9 @@ local default_mappings = { -- TODO: This would be weird if we switch the ordering. ["j"] = actions.move_selection_next, ["k"] = actions.move_selection_previous, + + [""] = actions.move_selection_next, + [""] = actions.move_selection_previous, }, }