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