diff options
author | Soispha <soispha@vhack.eu> | 2023-10-08 13:12:44 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-10-08 13:12:44 +0200 |
commit | 8fbcfc8698f97fc4701d09cb3de3e095d5ddd7c7 (patch) | |
tree | 90530153a36e969569115c6e06ea17c473826670 /hm/soispha/conf/nvim/plgs/telescope/extensions/frecency/default.nix | |
parent | chore(version): v1.15.0 (diff) | |
download | nixos-config-8fbcfc8698f97fc4701d09cb3de3e095d5ddd7c7.tar.gz nixos-config-8fbcfc8698f97fc4701d09cb3de3e095d5ddd7c7.zip |
fix(hm/conf/nvim): Update to new keymap format
Diffstat (limited to 'hm/soispha/conf/nvim/plgs/telescope/extensions/frecency/default.nix')
-rw-r--r-- | hm/soispha/conf/nvim/plgs/telescope/extensions/frecency/default.nix | 18 |
1 files changed, 9 insertions, 9 deletions
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; |