Giter Club home page Giter Club logo

nerd-fonts.el's Introduction

CI

nerd-fonts.el

Emacs nerd-fonts utilities.

This project was inspired by emacs-fontawesome.

Requirements

  • nerd-fonts (See here how to install)

Installation

Clone this repository to ~/.emacs.d/site-lisp/nerd-fonts. Add the following to your .emacs:

(require 'nerd-fonts)

Usage

Return a icon by giving name:

(nerd-fonts "mdi-lambda")
;; => "ﬦ"

Insert a icon at point in interactive way:

More features with helm/ivy:

nerd-fonts.el's People

Contributors

folliehiyuki avatar twlz0ne avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

nerd-fonts.el's Issues

Please add to MELPA

Hi, I was trying to add my project all-the-icons-nerd-fonts to MELPA but realised this package isn't on MELPA. I'd be happy to add it to MELPA myself but first I'd like you to clarify the LICENSE of this project. Please add an apropriate LICENSE file to this project so I can add it to MELPA or alternatively please add this project to MELPA yourself. Thank you.

Don't collapse multiple names into a single entry

For example

("fa-files-o fa-copy" . "")
("fa-link fa-chain" . "")

I've adapted the data definitions from this package so I can use them with all-the-icons but having multiple names in a single entry is messing up my translations (from all-the-icons glyphs to nerd-fonts glyphs).

I'd much prefer:

("fa-files-o" . "")
("fa-copy" . "")
("fa-link" . "")
("fa-chain" . "")

Helm is refusing to display NF icons

https://imgur.com/L7FRdYp

Hey @twlz0ne, nice package! I love it, somehow my Helm decided against that tough, as you can see in the screenshot above.

Funny thing is that some chinese symbols get displayed in the minibuffer, everything displays correctly in the main buffers.

I tried to find out how to change the helm font, seems like it uses the same default the buffer does.
I have defined it as follows:

(set-default-font "FuraCode Nerd Font")
(require 'nerd-fonts)

Another funny thing is that
(nerd-fonts "mdi-folder-star") actually inserts ﮛ instead of the star folder
https://i.imgur.com/xKerLs9.png (screen in case of unicode fuckups)
I am using Emacs 26.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.