{pkgs, ...}: {
  # WARNING: This is only activated in tex files via the ftplugin.
  programs.nixvim = {
    extraPlugins = [
      pkgs.vimExtraPlugins.telescope-bibtex-nvim
    ];
    keymaps = [
      {
        key = "<space>ib";
        # This is registered in the ftplugin file, so we set this to null here
        action = "<Nop>";
        mode = "n";
        options.desc = "[i]nsert a [b]atex citation";
      }
    ];
  };
}