From aba433c52229268b563ac14f4d07781275d03923 Mon Sep 17 00:00:00 2001 From: Simon Hauser Date: Mon, 2 Nov 2020 23:00:23 +0100 Subject: feat: Actions can now be summed up and center action (#204) Closes: #182 * Actions can now be summed up and center action * fix: Make some complicated changes for metatable * Update documentation Co-authored-by: TJ DeVries --- lua/telescope/mappings.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua/telescope/mappings.lua') diff --git a/lua/telescope/mappings.lua b/lua/telescope/mappings.lua index 561bc8b..766f861 100644 --- a/lua/telescope/mappings.lua +++ b/lua/telescope/mappings.lua @@ -16,7 +16,7 @@ mappings.default_mappings = config.values.default_mappings or { [""] = actions.move_selection_next, [""] = actions.move_selection_previous, - [""] = actions.goto_file_selection_edit, + [""] = actions.goto_file_selection_edit + actions.center, [""] = actions.goto_file_selection_split, [""] = actions.goto_file_selection_vsplit, [""] = actions.goto_file_selection_tabedit, @@ -30,7 +30,7 @@ mappings.default_mappings = config.values.default_mappings or { n = { [""] = actions.close, - [""] = actions.goto_file_selection_edit, + [""] = actions.goto_file_selection_edit + actions.center, [""] = actions.goto_file_selection_split, [""] = actions.goto_file_selection_vsplit, [""] = actions.goto_file_selection_tabedit, -- cgit v1.2.3