From d5460f78088cdcc2dc6209c9224a1eb4f943a10f Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Mon, 27 May 2024 07:44:53 +0300 Subject: [PATCH] feat: add telescope --- config/plugins/default.nix | 1 + config/plugins/telescope.nix | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 config/plugins/telescope.nix diff --git a/config/plugins/default.nix b/config/plugins/default.nix index b1bf589..dd96e39 100644 --- a/config/plugins/default.nix +++ b/config/plugins/default.nix @@ -1,5 +1,6 @@ { imports = [ ./oil.nix + ./telescope.nix ]; } diff --git a/config/plugins/telescope.nix b/config/plugins/telescope.nix new file mode 100644 index 0000000..b92a5b7 --- /dev/null +++ b/config/plugins/telescope.nix @@ -0,0 +1,13 @@ +{ + plugins.telescope = { + enable = true; + keymaps = { + "g" = "live_grep"; + }; + settings.defaults = { + file_ignore_patterns = [ + "%.lock" + ]; + }; + }; +} -- 2.44.1