Alternative set of icons for nvim-web-devicons using termicons.
Install with your favorite package manager (e.g. lazy.nvim).
{
"mskelton/termicons.nvim",
requires = { "nvim-tree/nvim-web-devicons" },
build = false,
}
This plugin works alongside nvim-web-devicons and simply provides an alternative set of icons.
require("termicons").setup()
To setup termicons with Kitty, add the
following to your kitty.conf
file.
symbol_map U+D000-U+D200 termicons
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.
The icons.get()
method can be used to get an icon by name.
local icons = require('termicons')
icons.get('javascript')