This plugin allows you to easily insert emojis in Neovim using their Unicode names.
Using lazy.nvim
{
"tmartinfr/mojivim",
}Using packer.nvim
use 'tmartinfr/mojivim'Clone this repository to your Neovim runtime path:
git clone https://github.com/tmartinfr/mojivim ~/.config/nvim/pack/plugins/start/mojivimThe plugin adds a :Emoji command that takes the emoji name as an argument.
Emoji names are based on the Unicode Emoji Database v16.0. Spaces in emoji names must be replaced with hyphens (-) and colons should be omitted.
:Emoji red-heart " ❤️ red heart
:Emoji grinning-face " 😀 grinning face
:Emoji thumbs-up " 👍 thumbs up
:Emoji fire " 🔥 fire
:Emoji rocket " 🚀 rocket
:Emoji party-popper " 🎉 party popper- 3,790+ emojis from Unicode v16.0
- Simple command interface
- Inserts emoji at cursor position
- Clear error messages for unknown emoji names
- No autocomplete support (planned for future release)
- No interactive emoji picker
- Emoji names must exactly match Unicode names (with hyphens instead of spaces)
The plugin bundles the Unicode emoji data directly in Lua format for fast loading and minimal dependencies.
- Always update this README.md file when appropriate to keep it consistent with the plugin code