mskelton / termicons.nvim

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

Home Page:https://mskelton.github.io/termicons/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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" },
}

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.

https://mskelton.github.io/termicons/

License:ISC License


Languages

Language:Lua 99.9%Language:Makefile 0.1%