Added telescope key config
This commit is contained in:
parent
b409ca702b
commit
f281de107f
2 changed files with 26 additions and 0 deletions
|
|
@ -9,6 +9,7 @@
|
|||
./treesitter.nix
|
||||
./treesitter-context.nix
|
||||
./treesitter-textobjects.nix
|
||||
./telescope.nix
|
||||
];
|
||||
opts = {
|
||||
number = true;
|
||||
|
|
|
|||
25
config/telescope.nix
Normal file
25
config/telescope.nix
Normal 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"; };
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue