From 96fa2296fa606a71eeed7d0e08bc1c75b2a08df2 Mon Sep 17 00:00:00 2001 From: 4o1x5 <4o1x5@4o1x5.dev> Date: Thu, 9 Jan 2025 10:51:05 +0100 Subject: [PATCH] telescope: added keybind for live_grep --- config/plugins/telescope/default.nix | 8 +++++++- flake.nix | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/config/plugins/telescope/default.nix b/config/plugins/telescope/default.nix index f038d2b..3bd0af8 100644 --- a/config/plugins/telescope/default.nix +++ b/config/plugins/telescope/default.nix @@ -1,4 +1,5 @@ -{ pkgs, ... }: { +{ pkgs, ... }: +{ plugins.telescope = { enable = true; extensions = { @@ -17,6 +18,11 @@ action = "find_files"; options.desc = "Find project files"; }; + "f" = { + action = "live_grep"; + options.desc = "Livegrep"; + }; + }; }; } diff --git a/flake.nix b/flake.nix index 022822a..5e044ef 100644 --- a/flake.nix +++ b/flake.nix @@ -1,4 +1,4 @@ -{ + description = "neo2005 flake"; # Flake reused directly from https://github.com/Ahwxorg/nixvim-config/