vim-devicons VS nvim-web-devicons

Compare vim-devicons vs nvim-web-devicons and see what are their differences.

vim-devicons

Adds file type icons to Vim plugins such as: NERDTree, vim-airline, CtrlP, unite, Denite, lightline, vim-startify and many more (by ryanoasis)

nvim-web-devicons

lua `fork` of vim-web-devicons for neovim (by nvim-tree)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
vim-devicons nvim-web-devicons
23 21
5,516 1,811
- 7.0%
0.0 8.8
4 months ago 4 days ago
Vim Script Lua
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

vim-devicons

Posts with mentions or reviews of vim-devicons. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-08.
  • treemacs-devicons: a vim-devicons inspired theme for treemacs!
    3 projects | /r/emacs | 8 Mar 2023
    Hello guys I made a devicons theme for treemacs. This is inspired by nvim-web-devicons and vim-devicons. Here are some screenshots:
  • NeoVim Installation and Configuration on Win10/11
    14 projects | dev.to | 30 Nov 2022
    :set number :set autoindent :set tabstop=5 :set shiftwidth=4 :set smarttab :set softtabstop=4 :set mouse=a call plug#begin() Plug 'http://github.com/tpope/vim-surround' " Surrounding ysw) Plug 'https://github.com/preservim/nerdtree' " NerdTree Plug 'https://github.com/tpope/vim-commentary' " For Commenting gcc & gc Plug 'https://github.com/vim-airline/vim-airline' " Status bar Plug 'https://github.com/lifepillar/pgsql.vim' " PSQL Pluging needs :SQLSetType pgsql.vim Plug 'https://github.com/ap/vim-css-color' " CSS Color Preview Plug 'https://github.com/rafi/awesome-vim-colorschemes' " Retro Scheme Plug 'https://github.com/neoclide/coc.nvim' " Auto Completion Plug 'https://github.com/ryanoasis/vim-devicons' " Developer Icons Plug 'https://github.com/tc50cal/vim-terminal' " Vim Terminal Plug 'https://github.com/preservim/tagbar' " Tagbar for code navigation Plug 'https://github.com/terryma/vim-multiple-cursors' " CTRL + N for multiple cursors Plug 'https://github.com/rstacruz/vim-closer' " For brackets autocompletion " Auto-completion For Javascript, typescript, html, jsx ...etc Plug 'neoclide/coc.nvim', {'do': 'yarn install --frozen-lockfile'} " this is for auto complete, prettier and tslinting let g:coc_global_extensions = ['coc-tslint-plugin', 'coc-tsserver', 'coc-css', 'coc-html', 'coc-json', 'coc-prettier'] " list of CoC extensions needed Plug 'jiangmiao/auto-pairs' "this will auto close ( [ { " these two plugins will add highlighting and indenting to JSX and TSX files. Plug 'yuezk/vim-js' Plug 'HerringtonDarkholme/yats.vim' Plug 'maxmellon/vim-jsx-pretty' set encoding=UTF-8 call plug#end() nnoremap :NERDTreeFocus nnoremap :NERDTree nnoremap :NERDTreeToggle nnoremap :call CocActionAsync('jumpDefinition') nmap :TagbarToggle :set completeopt-=preview " For No Previews :colorscheme jellybeans let g:NERDTreeDirArrowExpandable="+" let g:NERDTreeDirArrowCollapsible="~" " --- Just Some Notes --- " :PlugClean :PlugInstall :UpdateRemotePlugins " " :CocInstall coc-python " :CocInstall coc-clangd " :CocInstall coc-snippets " :CocCommand snippets.edit... FOR EACH FILE TYPE " air-line let g:airline_powerline_fonts = 1 if !exists('g:airline_symbols') let g:airline_symbols = {} endif " airline symbols let g:airline_left_sep = '' let g:airline_left_alt_sep = '' let g:airline_right_sep = '' let g:airline_right_alt_sep = '' let g:airline_symbols.branch = '' let g:airline_symbols.readonly = '' let g:airline_symbols.linenr = '' inoremap pumvisible() ? coc#_select_confirm() : ""
  • Fern.vim now supports nvim-web-devicons
    5 projects | /r/neovim | 9 Nov 2022
    It uses plugins called renderer to change how the file tree is renderer and it has two plugins for render icons in the tree that support lambdalisue/nerdfont.vim and ryanoasis/vim-devicons, but it lacked support for nvim-web-devicons.
  • My Neovim Configuration
    11 projects | dev.to | 1 Sep 2022
    call plug#begin('~/.config/nvim/plugged') Plug 'http://github.com/tpope/vim-surround' " Surrounding ysw) Plug 'https://github.com/preservim/nerdtree' " NerdTree Plug 'https://github.com/tpope/vim-commentary' " For Commenting gcc & gc Plug 'https://github.com/vim-airline/vim-airline' " Status bar Plug 'https://github.com/ap/vim-css-color' " CSS Color Preview Plug 'https://github.com/rafi/awesome-vim-colorschemes' " Retro Scheme Plug 'https://github.com/ryanoasis/vim-devicons' " Developer Icons Plug 'https://github.com/tc50cal/vim-terminal' " Vim Terminal Plug 'https://github.com/preservim/tagbar' " Tagbar for code navigation Plug 'https://github.com/terryma/vim-multiple-cursors' " CTRL + N for multiple cursors call plug#end() nnoremap :NERDTreeFocus nnoremap :NERDTree nnoremap :NERDTreeToggle nmap :TagbarToggle let g:NERDTreeDirArrowExpandable="+" let g:NERDTreeDirArrowCollapsible="~"
  • Configuring NeoVim plugins
    7 projects | dev.to | 3 Aug 2022
    Better yet, if you're using the vim-devicons plugin, use the patched version at Nerd Fonts that include the icons. The rest of the post follows as equal.
  • what terminal emulator do you use for neovim?
    1 project | /r/gnome | 17 Jul 2022
    Do you have vim-devicons installed (Assuming you're using nerdtree)?
  • Slow Neovim
    3 projects | /r/neovim | 24 Jun 2022
    Okay, that's a start. Based on a quick look through that repo, maybe you're running into this issue? I'm not sure why that would cause such a huge delay tho. Either way, I'd try adding one of the lines below to your config file:
  • Vem-Tabline not showing file icons in tabs
    3 projects | /r/vim | 16 Jun 2022
    I am not able to get vem-tabline to show the file icons in the tabs(there are only tab numbers that are displayed), with nvim, and neovide. I have installed vim-devicons, and the icons do show up in my statusline, for which I am using lightline. I have also installed a Nerd Font, so I don't know where I am going wrong. Could someone help me with this?
  • lsp-error with clangd when opening a cpp file in Ubuntu
    8 projects | /r/neovim | 7 Jun 2022
    -- Neovim configuration by Daniele Lupo (Jepessen) --- Require --- local utils = require('utils') --- Options --- -- Add number to rows utils.opt('o', 'number', true) -- Set indentation of files local indent = 2 utils.opt('b', 'expandtab', true) utils.opt('b', 'shiftwidth', indent) utils.opt('b', 'smartindent', true) utils.opt('b', 'tabstop', indent) utils.opt('b', 'autoindent', true) utils.opt('o', 'smarttab', true) utils.opt('b', 'softtabstop', indent) -- Enable the mouse utils.opt('o', 'mouse', 'a') -- Set nocompatible mode for more powerful commands utils.opt('o', 'compatible', false) -- Set some search options utils.opt('o', 'showmatch', true) utils.opt('o', 'ignorecase', true) utils.opt('o', 'hlsearch', true) utils.opt('o', 'incsearch', true) -- Set options for color scheme utils.opt('o', 'termguicolors', true) --- Keymappings --- -- Remap jj to escape in insert mode utils.map('i', 'jj', '') utils.map('n', 'JJJJ', '') -- Swap ; and : utils.map('n', ':', ';') utils.map('n', ';', ':') -- Start plugin section. Use this section in order to install new plugins to -- neovim. -- -- In order to install a new plugin, you need to put in this section the -- repository where it can be found, and then refresh the plugin list by -- installing them with the command: -- -- :PlugInstall -- Auto install vim-plug that's a plugin manager local vimplugrepository = '' local installpath = vim.fn.stdpath('config')..'/autoload' local vimpluginstallpath = installpath..'/plug.vim' local vimplugrepository = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' if vim.fn.empty(vim.fn.glob(vimpluginstallpath)) > 0 then vim.api.nvim_command('!curl -flo '..vimpluginstallpath..' --create-dirs '..vimplugrepository) vim.cmd 'autocmd VimEnter * PlugInstall' end local Plug = vim.fn['plug#'] -- Put plugins in this section. Define a Plug with the repository of the plugin that you want vim.call('plug#begin', installpath) -- Vim airline. This plugin creates a nice status bar with more features than -- standard one. Plug 'https://github.com/vim-airline/vim-airline' -- NerdTree is a plugin for showing a tree folder structure of the filesystem. Plug 'https://github.com/preservim/nerdtree' -- Vim color schemes Plug 'https://github.com/rafi/awesome-vim-colorschemes' -- Developer icons Plug 'https://github.com/ryanoasis/vim-devicons' -- Surrounding with parenthesis and xml tags with cs command and more Plug 'https://github.com/tpope/vim-surround' -- Show trailing whitespaces and use the command :StripWhitespace for removing -- them Plug 'https://github.com/ntpeters/vim-better-whitespace.git' -- Install the LSP server for configuring it with clangd for code completition -- in C++ Plug 'https://github.com/neovim/nvim-lspconfig' -- An interesting theme Plug 'https://github.com/Pocco81/Catppuccino.nvim' vim.call('plug#end') --- PLUGINS CONFIGURATION --- -- Nerdtree -- Configure keys so with ctrlf go to the tree, with ctrl+n open the tree, and -- ctrl+t toggle the tree utils.map('n', '', ':NERDTreeFocus') utils.map('n', '', ':NERDTree') utils.map('n', '', ':NERDTreeToggle') --- LSP CONFIG --- -- Main configuration local lspremapopts = { noremap = true, silent = true } vim.keymap.set('n', 'e', vim.diagnostic.open_float, lspremapopts) vim.keymap.set('n', '[d', vim.diagnostic.goto_prev, lspremapopts) vim.keymap.set('n', ']d', vim.diagnostic.goto_next, lspremapopts) vim.keymap.set('n', 'q', vim.diagnostic.setloclist, lspremapopts) -- Use an on_attach function to only map the following keys -- after the language server attaches to the current buffer local on_attach = function(client, bufnr) -- Enable completition triggered by vim.api.nvim_buf_set_option(bufnr, 'omnifunc', 'v:lua.vim.lsp.omnifunc') -- Mappings -- See ':help vim.lsp.* local bufopts = { noremap = true, silent = true, bufnr = bufnr } vim.keymap.set('n', 'gD', vim.lsp.buf.declaration, bufopts) vim.keymap.set('n', 'gd', vim.lsp.buf.definition, bufopts) vim.keymap.set('n', 'K', vim.lsp.buf.hover, bufopts) vim.keymap.set('n', 'gi', vim.lsp.buf.implementation, bufopts) vim.keymap.set('n', '', vim.lsp.buf.signature_help, bufopts) vim.keymap.set('n', 'wa', vim.lsp.buf.add_workspace_folder, bufopts) vim.keymap.set('n', 'wr', vim.lsp.buf.remove_workspace_folder, bufopts) vim.keymap.set('n', 'wl', function () print(vim.inspect(vim.lsp.buf.list_workspace_folders())) end, bufopts) vim.keymap.set('n', 'D', vim.lsp.buf.type_definition, bufopts) vim.keymap.set('n', 'rn', vim.lsp.buf.rename, bufopts) vim.keymap.set('n', 'ca', vim.lsp.buf.code_action, bufopts) vim.keymap.set('n', 'gr', vim.lsp.buf.references.bufopts) vim.keymap.set('n', 'f', vim.lsp.buf.formatting, bufopts) end -- Now the servers must be defined and set. In order to load them it's -- convenient to define them in an array and use a loop. local servers = { 'pyright', 'clangd' } for _, lsp in pairs(servers) do require('lspconfig')[lsp].setup { on_attach = on_attach, flags = { debounce_text_changes = 150 } } end --- COLOR SCHEME --- vim.cmd[[colorscheme catppuccin]]
  • Vim: A Beginner's Guide From A Beginner
    14 projects | dev.to | 27 May 2022
    vim-devicons - a plugin to show icons for your files

nvim-web-devicons

Posts with mentions or reviews of nvim-web-devicons. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-24.
  • Custom Filetype Detection(Nvim Tree)
    1 project | /r/neovim | 26 May 2023
  • Auto-completion problems for terraform
    9 projects | /r/neovim | 24 May 2023
    I know you moved on dotfiles, which is good, but you will probably want to install https://github.com/nvim-tree/nvim-web-devicons to get those icons for other plugins
  • Patch for Nerd Font V3
    4 projects | /r/neovim | 9 May 2023
    This is already done I think, unless more fixes are needed https://github.com/nvim-tree/nvim-web-devicons/pull/264
  • treemacs-devicons: a vim-devicons inspired theme for treemacs!
    3 projects | /r/emacs | 8 Mar 2023
    Motivation: I have been using Emacs for years but I never really sit down and wrote any serious elisp code myself. This time things changed because I saw the nvim-web-devicons. I like trying various kinds of editors, and then I found this devicons from vim editor so good. I really like it especially because it works in the terminal. People always say Emacs is best within GUI but there are times when you have to edit something in a terminal and maybe some like me just like terminal aesthetics. I mean I really like this devicons theme from vim but I never really liked vim keybindings. I want it to be part of Emacs so bad so I finally decided to learn some elisp and make it happen.
  • Nerdfont icons not showing
    1 project | /r/neovim | 4 Jan 2023
    Did you install this plugin?
  • neovim resorts to default glyphs for nvim-tree
    1 project | /r/neovim | 3 Dec 2022
    Did you install https://github.com/nvim-tree/nvim-web-devicons ?
  • nvim-material-icon: Better file icon for Nvim
    9 projects | /r/neovim | 9 Nov 2022
    nvim-web-devicons is a plugin that maps filetypes to icons in a patched font and colors for those icons. It has default settings for both the icons and colors for many common filetypes, but they can be customized and you can add support for your own filetypes.
  • Fern.vim now supports nvim-web-devicons
    5 projects | /r/neovim | 9 Nov 2022
    It uses plugins called renderer to change how the file tree is renderer and it has two plugins for render icons in the tree that support lambdalisue/nerdfont.vim and ryanoasis/vim-devicons, but it lacked support for nvim-web-devicons.
  • Cannot see nvim-web-devicons icons
    2 projects | /r/neovim | 8 Nov 2022
    I'm configuring neovim 0.8 on windows. I've installed nvim-tree plugin with its icons nvim-web-devicons. After the installation I cannot see properly the icons in the tree. This is the screenshot with the tree and the configuration part about those plugins:
  • How to configure nvim UI to look like this?
    14 projects | /r/neovim | 4 Nov 2022
    The "look" you're looking for is given by a bunch of plugins: - OneDark.nvim as colorscheme - TS Rainbow for rainbow brackets - BarBar for bufferline - Nvim Devicons and NerdFonts to view file icons - NvimTree as a file manager - Indent Blankline to show indentation guides - CompetiTest with vertical split UI - Feline as statusline plugin. In the screenshot feline is configured with a custom theme. As you can see statusline is different for CompetiTest buffers: a different statusline can be configured for every different filetype using conditional_config.

What are some alternatives?

When comparing vim-devicons and nvim-web-devicons you can also consider the following projects:

vim-airline - lean & mean status/tabline for vim that's light as air

vim-startify - :link: The fancy start screen for Vim.

vim-vinegar - vinegar.vim: Combine with netrw to create a delicious salad dressing

lualine.nvim - A blazing fast and easy to configure neovim statusline plugin written in pure lua.

coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.

LuaSnip - Snippet Engine for Neovim written in Lua.

kitty - Cross-platform, fast, feature-rich, GPU based terminal

nvim-tree.lua - A file explorer tree for neovim written in lua

nvim-lspconfig - Quickstart configs for Nvim LSP

packer.nvim - A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config

vim-gitgutter - A Vim plugin which shows git diff markers in the sign column and stages/previews/undoes hunks and partial hunks.

nvim-config - My lean, minimal, and sensible Neovim config. VS-who now? [Moved to: https://github.com/Sewdohe/NeoCode]