home: vim: telescope: add 'which-key' mapping

This opens a little preview window with different mappings for
telescope.
This commit is contained in:
Bruno BELANYI 2022-03-11 14:04:37 +01:00
parent fda1b235bc
commit 20e0a96e65

View file

@ -5,6 +5,7 @@ telescope.setup({
defaults = { defaults = {
mappings = { mappings = {
i = { i = {
["<C-h>"] = "which_key",
-- I want the normal readline mappings rather than scrolling -- I want the normal readline mappings rather than scrolling
["<C-u>"] = false, ["<C-u>"] = false,
} }