From c014ec498b4311adacac3099e4ed9fb0d756f9e4 Mon Sep 17 00:00:00 2001 From: Raffaele Wylde <75472685+raffaelewylde@users.noreply.github.com> Date: Tue, 9 Jul 2024 06:52:00 -0400 Subject: [PATCH] added icon-picker --- lua/plugins/icon-picker-nvim.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 lua/plugins/icon-picker-nvim.lua diff --git a/lua/plugins/icon-picker-nvim.lua b/lua/plugins/icon-picker-nvim.lua new file mode 100644 index 0000000..4f5f046 --- /dev/null +++ b/lua/plugins/icon-picker-nvim.lua @@ -0,0 +1,12 @@ +return { + "ziontee113/icon-picker.nvim", + config = function() + require("icon-picker").setup({ disable_legacy_commands = true }) + + local opts = { noremap = true, silent = true } + + vim.keymap.set("n", "i", "IconPickerNormal", opts) + vim.keymap.set("n", "y", "IconPickerYank", opts) --> Yank the selected icon into register + vim.keymap.set("i", "", "IconPickerInsert", opts) + end, +}