We have broke all extension that do some sort of goto_file_selection:replace Problem described here: https://github.com/nvim-telescope/telescope.nvim/pull/465#issuecomment-767831897 Possible solution: https://github.com/nvim-telescope/telescope.nvim/pull/465#issuecomment-767808213
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user