DEV Community

Cover image for Nerdy.nvim : Find Nerd Glyphs Easily ๐Ÿค“๐Ÿ”ญ
Abhishek Keshri
Abhishek Keshri

Posted on • Originally published at 2kabhishek.github.io

Nerdy.nvim : Find Nerd Glyphs Easily ๐Ÿค“๐Ÿ”ญ

Do you like Nerd fonts? but don't like going over to their site just to fetch a glyph for your pretty terminal?

Well, me too!

Introducing nerdy.nvim, a super handy plugin that lets you easily search, preview and insert all nerd font glyphs straight from neovim!

nerdy.nvim

โœจ Features

  • Fuzzy search nerd glyphs
  • Preview glyphs before inserting
  • Super lightweight
  • Can auto generate new icons from source

Setup

โšก Requirements

  • You have installed the latest version of neovim

These two plugins are optional but highly recommended for a smoother user experience.

๐Ÿš€ Installation



-- Lazy
{
    '2kabhishek/nerdy.nvim',
    dependencies = {
        'stevearc/dressing.nvim',
        'nvim-telescope/telescope.nvim',
    },
    cmd = 'Nerdy',
},

-- Packer
use '2kabhishek/nerdy.nvim'



Enter fullscreen mode Exit fullscreen mode

๐Ÿ’ป Usage

nerdy.nvim adds a new command Nerdy.

You can add your custom bindings for the command, the recommended keybinding is <leader>f,.

check :help nerdy for more details.

NOTE: By default there are no configured keybindings.

Fetch new icons

Running the python scripts/generator.py command will automatically fetch new icons from source and update the icons.

Behind The Code

๐ŸŒˆ Inspiration

I love nerd font glyphs, and I use them anywhere I can! but I was wasting a lot of time going back and forth between nerd font site and neovim, also the copy feature was super buggy for me on the site, so I made nerdy!

๐Ÿ’ก Challenges/Learnings

  • Making the generated icon table with vim.ui.select was a bit tricky.

๐Ÿงฐ Tooling

  • dots2k โ€” Dev Environment
  • nvim2k โ€” Personalized Editor

๐Ÿ” More Info

  • nerdicons.nvim โ€” Nerdy was inspired by nerdicons, thanks to the original authors for the groundwork.
  • co-author.nvim โ€” Another one of my plugin that easily lets you add co authors

GitHub Repo

GitHub logo 2KAbhishek / nerdy.nvim

Find Nerd Glyphs Easily ๐Ÿค“๐Ÿ”ญ


License


People


Stars


Forks


Watches


Last Updated

Find Nerd Glyphs Easily ๐Ÿค“๐Ÿ”ญ

nerdy.nvim in action


nerdy.nvim in action

Do you like Nerd fonts? but don't like going over to their site to fetch a glyph for your pretty terminal? Well, me too!

Introducing nerdy.nvim, a super handy plugin that lets you search, preview and insert all nerd font glyphs straight from neovim!

โœจ Features

  • Fuzzy search nerd glyphs, by name and unicode
  • Preview glyphs before inserting
  • Super lightweight
  • Can auto generate new icons from source

Setup

โšก Requirements

  • You have installed the latest version of neovim

These two plugins are optional but highly recommended for a smoother user experience.

๐Ÿš€ Installation

-- Lazy
{
    '2kabhishek/nerdy.nvim',
    dependencies = {
        'stevearc/dressing.nvim',
        'nvim-telescope/telescope.nvim',
    },
    cmd = 'Nerdy',
},

-- Packer
use '2kabhishek/nerdy.nvim'
Enter fullscreen mode Exit fullscreen mode

๐Ÿ’ป Usage

โ€ฆ

Top comments (0)