about summary refs log tree commit diff stats
path: root/home-manager/soispha/config/neovim/nixvim/plugins/telescope
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-08-25 23:05:46 +0200
committerSoispha <soispha@vhack.eu>2023-08-25 23:09:48 +0200
commit59fb1e0e6361a5f843ac0d02e49d7daab59b6987 (patch)
tree2b0cd80e0e72e8b37892ce0a22a521af44cddb39 /home-manager/soispha/config/neovim/nixvim/plugins/telescope
parentFeat(hm/conf/neovim/plugins/femaco): Init (diff)
downloadnixos-config-59fb1e0e6361a5f843ac0d02e49d7daab59b6987.zip
Feat(hm/conf/neovim/plugins/telescope/extensions/bibtex): Init
Diffstat (limited to 'home-manager/soispha/config/neovim/nixvim/plugins/telescope')
-rw-r--r--home-manager/soispha/config/neovim/nixvim/plugins/telescope/extensions/bibtex/default.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/home-manager/soispha/config/neovim/nixvim/plugins/telescope/extensions/bibtex/default.nix b/home-manager/soispha/config/neovim/nixvim/plugins/telescope/extensions/bibtex/default.nix
new file mode 100644
index 00000000..12c9736c
--- /dev/null
+++ b/home-manager/soispha/config/neovim/nixvim/plugins/telescope/extensions/bibtex/default.nix
@@ -0,0 +1,13 @@
+{pkgs, ...}: {
+  # WARNING: This is only activated in tex files via the ftplugin.
+  programs.nixvim = {
+    extraPlugins = [
+      pkgs.vimExtraPlugins.telescope-bibtex-nvim
+    ];
+    maps.normal = {
+      "<space>ib" = {
+        desc = "[i]nsert a [b]atex citation";
+      };
+    };
+  };
+}