Files
neovim-config/lua/plugins/icon-picker.lua
T
rootiest 2807567e34 🖍️ Plugin and Theme Formatting
- Formatting cleanup
2024-07-12 21:39:48 -04:00

14 lines
636 B
Lua

-- -----------------------------------------------------------------------------
-- ------------------------------- Icon Picker ---------------------------------
-- -----------------------------------------------------------------------------
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>Ii", "<cmd>Pick Icon<cr>", opts)
vim.keymap.set("n", "<Leader>Iy", "<cmd>Yank Icon<cr>", opts)
vim.keymap.set("i", "<C-i>", "<cmd>IconPickerInsert<cr>", opts)
end,
}