telescope: added keybind for live_grep

This commit is contained in:
Barna Máté 2025-01-09 10:51:05 +01:00
parent 0256cebaca
commit 96fa2296fa
2 changed files with 8 additions and 2 deletions

View file

@ -1,4 +1,5 @@
{ pkgs, ... }: { { pkgs, ... }:
{
plugins.telescope = { plugins.telescope = {
enable = true; enable = true;
extensions = { extensions = {
@ -17,6 +18,11 @@
action = "find_files"; action = "find_files";
options.desc = "Find project files"; options.desc = "Find project files";
}; };
"<leader>f" = {
action = "live_grep";
options.desc = "Livegrep";
};
}; };
}; };
} }

View file

@ -1,4 +1,4 @@
{
description = "neo2005 flake"; description = "neo2005 flake";
# Flake reused directly from https://github.com/Ahwxorg/nixvim-config/ # Flake reused directly from https://github.com/Ahwxorg/nixvim-config/