Awesome
nvim-nonicons
Icon set for neovim plugins and settings. Collection of configurations for nvim-web-devicons.
This repository is experimental and if there is demand, I'm going to create another plugin independent of nvim-web-devicons.
Features
- A familiar UI with the icons used on github
- Not only file type, but also mode and completion icons are available
- Easy-to-read design even with a small font size (16 x 16)
Requirements
- Nonicons >= 0.0.14
Installation
use 'yamatsum/nvim-nonicons'
-- if use nvim-web-devicons
use {
'yamatsum/nvim-nonicons',
requires = {'kyazdani42/nvim-web-devicons'}
}
Usage
require('nvim-nonicons').setup {}
iTerm
Set "non-ascii" font to nonicons in your favorite terminal settings.
e.g.) iTerm
By using two fonts, you can use your favorite font as the main font.
If the terminal can only use one font, you need to use the nonicons patched font.
Kitty
After installing the font, add the following line to your kitty.conf
file:
symbol_map U+f101-U+f25c nonicons
local icons = require "nvim-nonicons"
icons.get("file")
Gallery
nvim-telescope/telescope.nvim
Suggested configuration
local icons = require("nvim-nonicons")
require("telescope").setup({
defaults = {
prompt_prefix = " " .. icons.get("telescope") .. " ",
selection_caret = " ❯ ",
entry_prefix = " ",
},
})
kyazdani42/nvim-tree.lua
Suggested configuration
local nonicons_extention = require("nvim-nonicons.extentions.nvim-tree")
require("nvim-tree").setup({
renderer = {
icons = {
glyphs = nonicons_extention.glyphs,
},
},
})
nvim-lualine/lualine.nvim
Suggested configuration
local icons = require("nvim-nonicons")
local nonicons_extention = require("nvim-nonicons.extentions.lualine")
require("lualine").setup({
sections = {
lualine_a = { nonicons_extention.mode },
lualine_z = {
{
"branch",
icon = icons.get("git-branch"),
},
},
}
})
williamboman/nvim-lsp-installer
Suggested configuration
local nonicons_extention = require("nvim-nonicons.extentions.nvim-lsp-installer")
require("nvim-lsp-installer").setup({
ui = {
icons = nonicons_extention.icons,
},
})
rcarriga/nvim-notify
local nonicons_extention = require("nvim-nonicons.extentions.nvim-notify")
require("notify").setup({
icons = nonicons_extention.icons,
})
glepnir/galaxyline.nvim (deplicated)
nvim-lua/completion-nvim (deplicated)