Skip to content

tmartinfr/mojivim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mojivim - Emoji command for Neovim

This plugin allows you to easily insert emojis in Neovim using their Unicode names.

Installation

Using lazy.nvim

{
  "tmartinfr/mojivim",
}
use 'tmartinfr/mojivim'

Manual Installation

Clone this repository to your Neovim runtime path:

git clone https://github.com/tmartinfr/mojivim ~/.config/nvim/pack/plugins/start/mojivim

Usage

The 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.

Examples

: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

Features

  • 3,790+ emojis from Unicode v16.0
  • Simple command interface
  • Inserts emoji at cursor position
  • Clear error messages for unknown emoji names

Limitations

  • No autocomplete support (planned for future release)
  • No interactive emoji picker
  • Emoji names must exactly match Unicode names (with hyphens instead of spaces)

Architecture

The plugin bundles the Unicode emoji data directly in Lua format for fast loading and minimal dependencies.

Development rules

  • Always update this README.md file when appropriate to keep it consistent with the plugin code

About

Emoji command for Neovim

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors