Skip to content

emacsorphanage/ac-emoji

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ac-emoji melpa badge melpa stable badge

auto-complete source of emoji.

Screencast

Screenshot of ac-emoji

Installation

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]

Command

M-x ac-emoji-setup

Set auto-complete emoji source to ac-sources

Sample Configuration

(add-hook 'markdown-mode-hook 'ac-emoji-setup)
(add-hook 'git-commit-mode-hook 'ac-emoji-setup)

MacOSX Users

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

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)

Screenshot of ac-emoji on Linux

Windows Users

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