aboutsummaryrefslogtreecommitdiffstats
path: root/hm/soispha/conf/nvim/plgs/telescope/extensions/symbols
diff options
context:
space:
mode:
Diffstat (limited to 'hm/soispha/conf/nvim/plgs/telescope/extensions/symbols')
-rw-r--r--hm/soispha/conf/nvim/plgs/telescope/extensions/symbols/default.nix90
1 files changed, 47 insertions, 43 deletions
diff --git a/hm/soispha/conf/nvim/plgs/telescope/extensions/symbols/default.nix b/hm/soispha/conf/nvim/plgs/telescope/extensions/symbols/default.nix
index fe38f8c1..fa166c02 100644
--- a/hm/soispha/conf/nvim/plgs/telescope/extensions/symbols/default.nix
+++ b/hm/soispha/conf/nvim/plgs/telescope/extensions/symbols/default.nix
@@ -4,48 +4,52 @@
# 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)";
- };
- };
- };
+ 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)";
+ }
+ ];
};
}