summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorTJ DeVries <devries.timothyj@gmail.com>2020-09-01 17:50:15 -0400
committerTJ DeVries <devries.timothyj@gmail.com>2020-09-01 17:50:15 -0400
commite03a542b9ea0e46fe7ed8148b208d72a0df27337 (patch)
tree3b0841d4d3a842a446c1fa05a733acb58269dd06 /lua
parentbe370812922d305eaa5b70a6964bdf38bd2f5a5c (diff)
feat: Add <CR> for normal mode
Diffstat (limited to 'lua')
-rw-r--r--lua/telescope/pickers.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/telescope/pickers.lua b/lua/telescope/pickers.lua
index 9668ce0..2f15cb6 100644
--- a/lua/telescope/pickers.lua
+++ b/lua/telescope/pickers.lua
@@ -35,6 +35,7 @@ local default_mappings = {
n = {
["<esc>"] = actions.close,
+ ["<CR>"] = actions.goto_file_selection,
-- TODO: This would be weird if we switch the ordering.
["j"] = actions.move_selection_next,