From 098c00fbbd3a908a05aa98972e117cdc2dc879fa Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 17 Mar 2021 21:15:42 -0400 Subject: udpates escape immediately closes telescope --- lua/nv-telescope/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/nv-telescope/init.lua') diff --git a/lua/nv-telescope/init.lua b/lua/nv-telescope/init.lua index c9ea4b90..4b035031 100644 --- a/lua/nv-telescope/init.lua +++ b/lua/nv-telescope/init.lua @@ -42,6 +42,7 @@ require('telescope').setup { -- To disable a keymap, put [map] = false -- So, to not map "", just put -- [""] = false, + [""] = actions.close, -- Otherwise, just set the mapping to the function that you want it to be. -- [""] = actions.select_horizontal, @@ -55,7 +56,6 @@ require('telescope').setup { n = { [""] = actions.move_selection_next, [""] = actions.move_selection_previous - -- [""] = actions.close, -- [""] = my_cool_custom_action, } } -- cgit v1.2.3