diff options
Diffstat (limited to 'lua/telescope/mappings.lua')
| -rw-r--r-- | lua/telescope/mappings.lua | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lua/telescope/mappings.lua b/lua/telescope/mappings.lua index 38f238c..499be3e 100644 --- a/lua/telescope/mappings.lua +++ b/lua/telescope/mappings.lua @@ -16,10 +16,10 @@ mappings.default_mappings = config.values.default_mappings or { ["<Down>"] = actions.move_selection_next, ["<Up>"] = actions.move_selection_previous, - ["<CR>"] = actions.select + actions.center, - ["<C-x>"] = actions.hselect, - ["<C-v>"] = actions.vselect, - ["<C-t>"] = actions.tabselect, + ["<CR>"] = actions.goto_file_selection_edit + actions.center, + ["<C-x>"] = actions.goto_file_selection_split, + ["<C-v>"] = actions.goto_file_selection_vsplit, + ["<C-t>"] = actions.goto_file_selection_tabedit, ["<C-u>"] = actions.preview_scrolling_up, ["<C-d>"] = actions.preview_scrolling_down, @@ -30,10 +30,10 @@ mappings.default_mappings = config.values.default_mappings or { n = { ["<esc>"] = actions.close, - ["<CR>"] = actions.select + actions.center, - ["<C-x>"] = actions.hselect, - ["<C-v>"] = actions.vselect, - ["<C-t>"] = actions.tabselect, + ["<CR>"] = actions.goto_file_selection_edit + actions.center, + ["<C-x>"] = actions.goto_file_selection_split, + ["<C-v>"] = actions.goto_file_selection_vsplit, + ["<C-t>"] = actions.goto_file_selection_tabedit, -- TODO: This would be weird if we switch the ordering. ["j"] = actions.move_selection_next, |
