Added telescope key config

This commit is contained in:
EsVagy42 2025-03-02 19:28:48 +00:00
parent b409ca702b
commit f281de107f
2 changed files with 26 additions and 0 deletions

View file

@ -9,6 +9,7 @@
./treesitter.nix
./treesitter-context.nix
./treesitter-textobjects.nix
./telescope.nix
];
opts = {
number = true;

25
config/telescope.nix Normal file
View file

@ -0,0 +1,25 @@
{
plugins = {
telescope = {
enable = true;
keymaps = {
"<leader>ff" = {
action = "find_files";
options = { desc = "Telescope find files"; };
};
"<leader>fg" = {
action = "live_grep";
options = { desc = "Telescope live grep"; };
};
"<leader>fb" = {
action = "buffers";
options = { desc = "Telescope buffers"; };
};
"<leader>fh" = {
action = "help_tags";
options = { desc = "Telescope help tags"; };
};
};
};
};
}