diff --git a/nvim/lua/settings/lazy/plugins/icon-picker.lua b/nvim/lua/settings/lazy/plugins/icon-picker.lua new file mode 100644 index 0000000..6bd133b --- /dev/null +++ b/nvim/lua/settings/lazy/plugins/icon-picker.lua @@ -0,0 +1,36 @@ +return { + "ziontee113/icon-picker.nvim", + event = "VeryLazy", + config = function() + local iconPicker = require("icon-picker") + local whichKey = require("which-key") + + iconPicker.setup({ + disable_legacy_commands = true + }) + + whichKey.register({ + ["i"] = { + name = "Icon Picker", + e = { + function() + vim.cmd("IconPickerInsert emoji") + end, + "Pick emoji" + }, + s = { + function() + vim.cmd("IconPickerInsert symbols") + end, + "Pick symbol" + }, + n = { + function() + vim.cmd("IconPickerInsert nerd_font") + end, + "Pick Nerd font symbol" + } + } + }) + end +}