🪄 Add Icon Picker

- Add icon-picker plugin for easy icon/glyph selection
This commit is contained in:
2024-07-10 09:41:59 -04:00
parent 125680fe5c
commit a7d3c2773b
+12
View File
@@ -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", "<Leader><Leader>i", "<cmd>IconPickerNormal<cr>", opts)
vim.keymap.set("n", "<Leader><Leader>y", "<cmd>IconPickerYank<cr>", opts) --> Yank the selected icon into register
vim.keymap.set("i", "<C-i>", "<cmd>IconPickerInsert<cr>", opts)
end,
}