From baae94abb6a9a03914216f0f373b7b0f6b0207bd Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Sat, 19 Sep 2026 01:40:50 +0530 Subject: chore: removed all raw string configurations options in favor of files Moved all configurations which were previously raw strings chunks, for options that the home-manager options didn't provide, into files for that specific configuration and reading there contents instead (with string replacement for passing information from the rest of the configuration). --- modules/development/nixvim/plugins/telescope.nix | 74 ------------------------ 1 file changed, 74 deletions(-) delete mode 100644 modules/development/nixvim/plugins/telescope.nix (limited to 'modules/development/nixvim/plugins/telescope.nix') diff --git a/modules/development/nixvim/plugins/telescope.nix b/modules/development/nixvim/plugins/telescope.nix deleted file mode 100644 index 505a3eb..0000000 --- a/modules/development/nixvim/plugins/telescope.nix +++ /dev/null @@ -1,74 +0,0 @@ -# Fuzzy finder -{ config, lib, ... }: -{ - config.programs.nixvim.plugins.telescope = lib.mkIf config.development.nixvim.enable { - enable = true; - extensions = { - fzf-native.enable = true; # Faster fuzzy sorting - ui-select.enable = true; # Uses telescope for vim.ui.select - }; - settings = { - defaults = { - layout_strategy = "horizontal"; - layout_config = { - horizontal = { - preview_width = 0.55; - results_width = 0.45; - }; - width = 0.87; - height = 0.80; - }; - mappings = { - i = { - "".__raw = "require('telescope.actions').move_selection_previous"; - "".__raw = "require('telescope.actions').move_selection_next"; - "".__raw = "require('telescope.actions').close"; - }; - }; - }; - }; - keymaps = { - # Files - "ff" = { - action = "find_files"; - options.desc = "Find files"; - }; - "fg" = { - action = "live_grep"; - options.desc = "Live grep"; - }; - "fb" = { - action = "buffers"; - options.desc = "Find buffers"; - }; - "fr" = { - action = "oldfiles"; - options.desc = "Recent files"; - }; - - # LSP - "fd" = { - action = "diagnostics"; - options.desc = "Diagnostics"; - }; - "fs" = { - action = "lsp_document_symbols"; - options.desc = "Document symbols"; - }; - - # Misc - "fh" = { - action = "help_tags"; - options.desc = "Help tags"; - }; - "fc" = { - action = "commands"; - options.desc = "Commands"; - }; - "fk" = { - action = "keymaps"; - options.desc = "Find keymaps"; - }; - }; - }; -} -- cgit v1.2.3