From fd9b0ecef4142a62b45404700ba1cff488f84a73 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Thu, 23 May 2024 13:31:11 +0200 Subject: refactor(modules/home): Setup as "normal" NixOS module --- .../plgs/telescope/extensions/symbols/default.nix | 55 ---------------------- 1 file changed, 55 deletions(-) delete mode 100644 modules/home/soispha/conf/nvim/plgs/telescope/extensions/symbols/default.nix (limited to 'modules/home/soispha/conf/nvim/plgs/telescope/extensions/symbols') diff --git a/modules/home/soispha/conf/nvim/plgs/telescope/extensions/symbols/default.nix b/modules/home/soispha/conf/nvim/plgs/telescope/extensions/symbols/default.nix deleted file mode 100644 index fa166c02..00000000 --- a/modules/home/soispha/conf/nvim/plgs/telescope/extensions/symbols/default.nix +++ /dev/null @@ -1,55 +0,0 @@ -{pkgs, ...}: { - programs.nixvim = { - extraPlugins = [ - # Source of symbols for telescope symbols - pkgs.vimPlugins.telescope-symbols-nvim - ]; - keymaps = [ - { - key = "il"; - mode = "n"; - action = '' - function() - require('telescope.builtin').symbols{ sources = { - 'latex' - }} - end - ''; - lua = true; - options.desc = "[i]nsert a [l]atex symbol"; - } - { - key = "ie"; - mode = "n"; - action = '' - function() - require('telescope.builtin').symbols{ sources = { - 'emoji', - }} - end - ''; - lua = true; - options.desc = "[i]nsert a [e]moji"; - } - { - key = "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)"; - } - ]; - }; -} -- cgit 1.4.1