Skip to content

hzqtc/nf-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nf-list

A simple command-line tool to list all Nerd Font icons with their names and codepoints.

The tool fetches the Nerd Fonts CSS file and parses it to extract the icon information. The CSS file is cached locally to avoid repeated downloads.

Usage

Prerequisites

  • go
  • A nerd font

Build

To run the tool, use the following command (.local/bin needs to be in PATH):

make install
nf-list

Run

This will output a list of all Nerd Font icons in the following format:

<icon-name> -> <hex-code> | <icon>

For example:

nf-dev-git -> f1d3 | 

fzf integration

The repository also includes wrapper scripts for bash, zsh, and fish to integrate with fzf for interactive searching.

  • nfzf.bash
  • nfzf.zsh
  • nfzf.fish

These scripts allow you to search for Nerd Font icons and copy the selected icon to your clipboard.

About

Print nerd fonts symbols in terminal.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published