Skip to content

emacsorphanage/fontawesome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fontawesome melpa badge melpa stable badge

Emacs fontawesome utility.

Requirements

  • fontawesome font(Download from here)

Installation

fontawesome is available on MELPA and MELPA stable

You can install fontawesome with the following command.

M-x package-install [RET] fontawesome [RET]

Function

(fontawesome font-name)

Return code point of font-name. This function is interactive function, so you can call it by M-x fontawesome.

M-x helm-fontawesome

Insert fontawesome font with helm interface

helm-fontawesome

M-x counsel-fontawesome

Insert fontawesome font with ivy interface

Sample

(insert (propertize (fontawesome "github")
        'face '(:family "FontAwesome")))

(defun insert-fontawesome ()
  (interactive)
  (insert (call-interactively 'fontawesome)))