Files
neovim-config/lua/plugins/icon-picker.lua
T
rootiest 4990475a9a 🎨 Aesthetics
- Consistent look across plugin files
2024-07-11 01:37:48 -04:00

17 lines
706 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><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,
}