Skip to content
Projekte

Über uns

Icon set using nonicons for neovim plugins and settings

Entwicklerwerkzeuge

So werden diese Zahlen gemessen

What you can do

  • 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)

Gemessener Sternzuwachs

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Verlauf wird gesammelt

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original

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

Installation

use 'ya2s/nvim-nonicons'

-- if use nvim-web-devicons
use {
  'ya2s/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

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)

galaxyline.nvim1 galaxyline.nvim2 galaxyline.nvim3

nvim-lua/completion-nvim (deplicated)

completion-nvim1 completion-nvim1

Other

Ähnliche Projekte entdecken

Wird geladen…