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