From 3925f6ee04f09d7d09b7aff018812670a0e89492 Mon Sep 17 00:00:00 2001 From: Soispha Date: Tue, 29 Aug 2023 21:33:43 +0200 Subject: Refactor(hm/conf/nvim/plugins): Rename to `plgs` to safe commit msg space --- .../conf/nvim/plgs/telescope/extensions/bibtex/default.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 hm/soispha/conf/nvim/plgs/telescope/extensions/bibtex/default.nix (limited to 'hm/soispha/conf/nvim/plgs/telescope/extensions/bibtex/default.nix') diff --git a/hm/soispha/conf/nvim/plgs/telescope/extensions/bibtex/default.nix b/hm/soispha/conf/nvim/plgs/telescope/extensions/bibtex/default.nix new file mode 100644 index 00000000..12c9736c --- /dev/null +++ b/hm/soispha/conf/nvim/plgs/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 = { + "ib" = { + desc = "[i]nsert a [b]atex citation"; + }; + }; + }; +} -- cgit 1.4.1