fix: Allow people to still override ALL the mappings
This commit is contained in:
@@ -77,6 +77,7 @@ function config.set_defaults(defaults)
|
||||
-- ...,
|
||||
--
|
||||
set("mappings", {})
|
||||
set("default_mappings", nil)
|
||||
|
||||
-- NOT STABLE. DO NOT USE
|
||||
set("horizontal_config", {
|
||||
|
||||
@@ -2,10 +2,11 @@
|
||||
local a = vim.api
|
||||
|
||||
local actions = require('telescope.actions')
|
||||
local config = require('telescope.config')
|
||||
|
||||
local mappings = {}
|
||||
|
||||
mappings.default_mappings = {
|
||||
mappings.default_mappings = config.values.default_mappings or {
|
||||
i = {
|
||||
["<C-n>"] = actions.move_selection_next,
|
||||
["<C-p>"] = actions.move_selection_previous,
|
||||
|
||||
Reference in New Issue
Block a user