diff options
Diffstat (limited to '')
-rw-r--r-- | modules/by-name/nv/nvim/plgs/telescope/defaults/default.nix (renamed from modules/home.legacy/conf/nvim/plgs/telescope/defaults/default.nix) | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/modules/home.legacy/conf/nvim/plgs/telescope/defaults/default.nix b/modules/by-name/nv/nvim/plgs/telescope/defaults/default.nix index 933089ef..11d04304 100644 --- a/modules/home.legacy/conf/nvim/plgs/telescope/defaults/default.nix +++ b/modules/by-name/nv/nvim/plgs/telescope/defaults/default.nix @@ -1,5 +1,11 @@ -{...}: { - programs.nixvim.plugins.telescope.settings.defaults = { +{ + config, + lib, + ... +}: let + cfg = config.soispha.programs.nvim; +in { + home-manager.users.soispha.programs.nixvim.plugins.telescope.settings.defaults = lib.mkIf cfg.enable { mappings = let insert_and_normal_mappings = { # map actions.which_key to <c-h> (default: <c-/>) |