feat: Add more easily customizable mappings.

Closes: #131
This commit is contained in:
TJ DeVries
2020-10-08 21:39:43 -04:00
parent fa17b37dad
commit c2c4626c3d
4 changed files with 125 additions and 50 deletions

View File

@@ -526,7 +526,7 @@ function Picker:find()
picker = self,
}, { __mode = 'kv' }))
mappings.apply_keymap(prompt_bufnr, self.attach_mappings, config.values.default_mappings)
mappings.apply_keymap(prompt_bufnr, self.attach_mappings, config.values.mappings)
-- Do filetype last, so that users can register at the last second.
pcall(a.nvim_buf_set_option, prompt_bufnr, 'filetype', 'TelescopePrompt')