fix: Allow people to still override ALL the mappings

This commit is contained in:
TJ DeVries
2020-10-08 21:42:50 -04:00
parent c2c4626c3d
commit 282e328d46
2 changed files with 3 additions and 1 deletions

View File

@@ -77,6 +77,7 @@ function config.set_defaults(defaults)
-- ...,
--
set("mappings", {})
set("default_mappings", nil)
-- NOT STABLE. DO NOT USE
set("horizontal_config", {

View File

@@ -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,