auto-complete source of emoji.
ac-emoji
is available on MELPA and MELPA stable
You can install ac-emoji
with the following command.
M-x package-install [RET] ac-emoji [RET]
Set auto-complete emoji source to ac-sources
(add-hook 'markdown-mode-hook 'ac-emoji-setup)
(add-hook 'git-commit-mode-hook 'ac-emoji-setup)
NOTE: This package does not work with Emacs 25.1 on MacOSX.
Please add following font configuration to your init.el
.
(set-fontset-font
t 'symbol
(font-spec :family "Apple Color Emoji") nil 'prepend)
Linux users can use Symbola font.
Ubuntu/Debian provides Symbola as package, ttf-ancient-fonts
or ttf-ancient-fonts-symbola
.
(set-fontset-font
t 'symbol
(font-spec :family "Symbola") nil 'prepend)
Windows 7 or higher installs emoji font as default. I suppose you need not to set font configuration(I confirmed only Windows7 and I don't understand Windows well).