diff options
author | Chris <[email protected]> | 2021-03-17 21:15:42 -0400 |
---|---|---|
committer | Chris <[email protected]> | 2021-03-17 21:15:42 -0400 |
commit | 098c00fbbd3a908a05aa98972e117cdc2dc879fa (patch) | |
tree | 8ecd030aa8be52c6b9ac3b31b4b8e77ba865e646 /lua/nv-telescope/init.lua | |
parent | c0dba81c2ed80dbf9311dd38114b3d54a0b35086 (diff) |
udpates escape immediately closes telescope
Diffstat (limited to 'lua/nv-telescope/init.lua')
-rw-r--r-- | lua/nv-telescope/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 "<C-n>", just put -- ["<c-x>"] = false, + ["<esc>"] = actions.close, -- Otherwise, just set the mapping to the function that you want it to be. -- ["<C-i>"] = actions.select_horizontal, @@ -55,7 +56,6 @@ require('telescope').setup { n = { ["<C-j>"] = actions.move_selection_next, ["<C-k>"] = actions.move_selection_previous - -- ["<esc>"] = actions.close, -- ["<C-i>"] = my_cool_custom_action, } } |