nixvim/config/telescope.nix
2024-08-20 17:07:45 +08:00

21 lines
345 B
Nix

{ helpers, ... }:
{
plugins.telescope = {
enable = true;
};
keymaps = [
{
mode = [ "n" "i" ];
key = "<C-p>";
action = helpers.mkRaw ''
function()
require("telescope.builtin").find_files()
end
'';
options = {
desc = "Find files with telescope";
};
}
];
}