plugins/telescope: allow key mappings to be attrs

This commit is contained in:
Gaetan Lepage 2023-07-17 13:18:08 +02:00 committed by Gaétan Lepage
parent 71c0b4cb59
commit 6152f77a63
2 changed files with 42 additions and 7 deletions

View file

@ -0,0 +1,21 @@
{
empty = {
plugins.telescope.enable = true;
};
example = {
plugins.telescope = {
enable = true;
keymaps = {
"<leader>fg" = "live_grep";
"<C-p>" = {
action = "git_files";
desc = "Telescope Git Files";
};
};
keymapsSilent = true;
highlightTheme = "gruvbox";
};
};
}