From f281de107fb36dcc3bb2ce7852c326fb316c845e Mon Sep 17 00:00:00 2001 From: EsVagy42 Date: Sun, 2 Mar 2025 19:28:48 +0000 Subject: [PATCH] Added telescope key config --- config/default.nix | 1 + config/telescope.nix | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 config/telescope.nix diff --git a/config/default.nix b/config/default.nix index 28fbd09..ca8c612 100644 --- a/config/default.nix +++ b/config/default.nix @@ -9,6 +9,7 @@ ./treesitter.nix ./treesitter-context.nix ./treesitter-textobjects.nix + ./telescope.nix ]; opts = { number = true; diff --git a/config/telescope.nix b/config/telescope.nix new file mode 100644 index 0000000..994c20f --- /dev/null +++ b/config/telescope.nix @@ -0,0 +1,25 @@ +{ + plugins = { + telescope = { + enable = true; + keymaps = { + "ff" = { + action = "find_files"; + options = { desc = "Telescope find files"; }; + }; + "fg" = { + action = "live_grep"; + options = { desc = "Telescope live grep"; }; + }; + "fb" = { + action = "buffers"; + options = { desc = "Telescope buffers"; }; + }; + "fh" = { + action = "help_tags"; + options = { desc = "Telescope help tags"; }; + }; + }; + }; + }; +}