From 4abb5f7867fb087aa69bcd49d40537609a1e2e46 Mon Sep 17 00:00:00 2001 From: Simon Hauser Date: Fri, 4 Sep 2020 21:48:00 +0200 Subject: Adds split and tabedit mappings. Adopted by fzf.vim (#29) --- lua/telescope/pickers.lua | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'lua/telescope/pickers.lua') diff --git a/lua/telescope/pickers.lua b/lua/telescope/pickers.lua index 6fd7442..7819bec 100644 --- a/lua/telescope/pickers.lua +++ b/lua/telescope/pickers.lua @@ -35,12 +35,18 @@ local default_mappings = { [""] = actions.move_selection_next, [""] = actions.move_selection_previous, - [""] = actions.goto_file_selection, + [""] = actions.goto_file_selection_edit, + [""] = actions.goto_file_selection_split, + [""] = actions.goto_file_selection_vsplit, + [""] = actions.goto_file_selection_tabedit, }, n = { [""] = actions.close, - [""] = actions.goto_file_selection, + [""] = actions.goto_file_selection_edit, + [""] = actions.goto_file_selection_split, + [""] = actions.goto_file_selection_vsplit, + [""] = actions.goto_file_selection_tabedit, -- TODO: This would be weird if we switch the ordering. ["j"] = actions.move_selection_next, -- cgit v1.2.3