Skip to content

Alternative set of icons for nvim-web-devicons using termicons.

License

Notifications You must be signed in to change notification settings

mskelton/termicons.nvim

Repository files navigation

termicons.nvim

Alternative set of icons for nvim-web-devicons using termicons.

image

Requirements

Installation

Install with your favorite package manager (e.g. lazy.nvim).

{
  "mskelton/termicons.nvim",
  requires = { "nvim-tree/nvim-web-devicons" },
  build = false,
}

Setup

This plugin works alongside nvim-web-devicons and simply provides an alternative set of icons.

require("termicons").setup()

Kitty

To setup termicons with Kitty, add the following to your kitty.conf file.

symbol_map U+D000-U+D200 termicons

iTerm

Usage of termicons in iTerm is limited given that iTerm only supports a single "non-ASCII" font. If you don't already have a "non-ASCII" font specified in your iTerm preferences, set it to "termicons". Sadly, termicons does not support patched fonts, so this does not work alongside an existing "non-ASCII" font.

API

icons.get()

The icons.get() method can be used to get an icon by name.

local icons = require('termicons')

icons.get('javascript')

About

Alternative set of icons for nvim-web-devicons using termicons.

Topics

Resources

License

Stars

Watchers

Forks

Languages