sponsor Vim development Vim logo Vim Book Ad

vim-emoji : Emoji in Vim

 script karma  Rating 1/3, Downloaded by 117    Comments, bugs, improvements  Vim wiki

created by
Junegunn Choi
script type

Emoji in Vim. Emojis are only available on terminal Vim on Mac.

List of functions:

- emoji#available()
- emoji#for(name[, default = '', pad = 1])
  - Refer to http://www.emoji-cheat-sheet.com
  - Returns an empty string if not available
- emoji#list()

Example - Using Emojis as GitGutter symbols:

silent! if emoji#available()
  let g:gitgutter_sign_added = emoji#for('small_blue_diamond')
  let g:gitgutter_sign_modified = emoji#for('small_orange_diamond')
  let g:gitgutter_sign_removed = emoji#for('small_red_triangle')
  let g:gitgutter_sign_modified_removed = emoji#for('collision')
install details
Extract in ~/.vim or use your favorite plugin manager

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-emoji.zip 0.2.0 2013-09-22 7.3 Junegunn Choi Reduce load time by around 10%
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
SourceForge.net Logo