blob: fe38f8c189bbfbe68a2d9ba27191e8c860bfa1ed (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
{pkgs, ...}: {
programs.nixvim = {
extraPlugins = [
# Source of symbols for telescope symbols
pkgs.vimPlugins.telescope-symbols-nvim
];
maps = {
normal = {
"<space>il" = {
action = ''
function()
require('telescope.builtin').symbols{ sources = {
'latex'
}}
end
'';
lua = true;
desc = "[i]nsert a [l]atex symbol";
};
"<space>ie" = {
action = ''
function()
require('telescope.builtin').symbols{ sources = {
'emoji',
}}
end
'';
lua = true;
desc = "[i]nsert a [e]moji";
};
"<space>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)";
};
};
};
};
}
|