{pkgs, ...}: {
  programs.nixvim = {
    extraPlugins = [
      # Source of symbols for telescope symbols
      pkgs.vimPlugins.telescope-symbols-nvim
    ];
    keymaps = [
      {
        key = "<space>il";
        mode = "n";
        action = ''
          function()
            require('telescope.builtin').symbols{ sources = {
              'latex'
            }}
          end
        '';
        lua = true;
        options.desc = "[i]nsert a [l]atex symbol";
      }
      {
        key = "<space>ie";
        mode = "n";
        action = ''
          function()
            require('telescope.builtin').symbols{ sources = {
                'emoji',
            }}
          end
        '';
        lua = true;
        options.desc = "[i]nsert a [e]moji";
      }
      {
        key = "<space>is";
        mode = "n";
        action = ''
          function()
            require('telescope.builtin').symbols{ sources = {
                'emoji',
                'gitmoji',
                'julia',
                'kaomoji',
                'latex',
                'math',
                'nerd',
            }}
          end
        '';
        lua = true;
        options.desc = "[i]nsert a [s]ymbol (like emojis)";
      }
    ];
  };
}