From 8fbcfc8698f97fc4701d09cb3de3e095d5ddd7c7 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sun, 8 Oct 2023 13:12:44 +0200 Subject: fix(hm/conf/nvim): Update to new keymap format --- .../plgs/telescope/extensions/frecency/default.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'hm/soispha/conf/nvim/plgs/telescope/extensions/frecency/default.nix') diff --git a/hm/soispha/conf/nvim/plgs/telescope/extensions/frecency/default.nix b/hm/soispha/conf/nvim/plgs/telescope/extensions/frecency/default.nix index 4a4c22be..b236f3c5 100644 --- a/hm/soispha/conf/nvim/plgs/telescope/extensions/frecency/default.nix +++ b/hm/soispha/conf/nvim/plgs/telescope/extensions/frecency/default.nix @@ -1,14 +1,14 @@ {...}: { programs.nixvim = { - maps = { - normal = { - "gff" = { - action = "function() require('telescope').extensions.frecency.frecency() end"; - lua = true; - desc = "activate the frecency file selection"; - }; - }; - }; + keymaps = [ + { + key = "gff"; + mode = "n"; + action = "function() require('telescope').extensions.frecency.frecency() end"; + lua = true; + options.desc = "activate the frecency file selection"; + } + ]; plugins.telescope = { extensions.frecency = { enable = true; -- cgit 1.4.1