about summary refs log tree commit diff stats
path: root/hm/soispha/conf/nvim/plgs/telescope/extensions/bibtex/default.nix
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-10-08 13:12:44 +0200
committerSoispha <soispha@vhack.eu>2023-10-08 13:12:44 +0200
commit8fbcfc8698f97fc4701d09cb3de3e095d5ddd7c7 (patch)
tree90530153a36e969569115c6e06ea17c473826670 /hm/soispha/conf/nvim/plgs/telescope/extensions/bibtex/default.nix
parentchore(version): v1.15.0 (diff)
downloadnixos-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/bibtex/default.nix')
-rw-r--r--hm/soispha/conf/nvim/plgs/telescope/extensions/bibtex/default.nix12
1 files changed, 7 insertions, 5 deletions
diff --git a/hm/soispha/conf/nvim/plgs/telescope/extensions/bibtex/default.nix b/hm/soispha/conf/nvim/plgs/telescope/extensions/bibtex/default.nix
index 12c9736c..946d32f1 100644
--- a/hm/soispha/conf/nvim/plgs/telescope/extensions/bibtex/default.nix
+++ b/hm/soispha/conf/nvim/plgs/telescope/extensions/bibtex/default.nix
@@ -4,10 +4,12 @@
     extraPlugins = [
       pkgs.vimExtraPlugins.telescope-bibtex-nvim
     ];
-    maps.normal = {
-      "<space>ib" = {
-        desc = "[i]nsert a [b]atex citation";
-      };
-    };
+    keymaps = [
+      {
+        key = "<space>ib";
+        mode = "n";
+        options.desc = "[i]nsert a [b]atex citation";
+      }
+    ];
   };
 }