0

I'm sure that I've seen it so that one is able to use :<emoji and there's a pop up menu to select from, I can't seem to get this working though.

I tried installing: https://github.com/junegunn/vim-emoji , but it isn't working as I'd like, and I'm not sure that it will.

3

One way to get this feature is by using coc and coc-emoji.

Coc is a plugin which allows you to get the same Language Server Protocol (autocompletion, linting, go to definition, etc...) as VSCode because it uses the same extensions as VSCode. This is a pretty powerful tool but installing it just to get emoji support might be a bit overkill.

However if you do use coc you can use :CocInstall coc-emoji to get the emoji completion source, by default it is enabled only for the markdown file type. And then inserting : and the first letters of the emoji name gives you something like this:

enter image description here

To make it available on other filetypes you can use :CocConfig to edit "coc.source.emoji.filetypes".

| improve this answer | |
  • @baxx Please let me know if the answer doesn't solve your issue, otherwise don't hesitate to mark it as accepted to let future readers know that it's a solution they can use too. – statox Aug 10 at 8:46
0

You can use https://github.com/FuDesign2008/emoji-snippets.vim, which is working with YouCompleteMe

| improve this answer | |
  • 1
    Welcome to Vi and Vim! The best answers include explanations with links, which sometimes die. – D. Ben Knoble Aug 21 at 13:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.