-
Notifications
You must be signed in to change notification settings - Fork 263
Installation
Get a Nerd Font! or patch your own. Without this, things break
Set VimDevIcons to load after these plugins!
NERDTree | vim-airline | CtrlP | powerline | Denite | unite | lightline.vim | vim-startify | vimfiler | flagship
Choose your favorite plugin manager
git clone https://github.com/ryanoasis/vim-devicons ~/.vim/bundle/vim-devicons
-
Add to vimrc:
NeoBundle 'ryanoasis/vim-devicons'
-
And install it:
:so ~/.vimrc :NeoBundleInstall
-
Add to vimrc:
Plugin 'ryanoasis/vim-devicons'
-
And install it:
:so ~/.vimrc :PluginInstall
-
Add to your
call plug#begin...call plug#end()
:Plug 'ryanoasis/vim-devicons'
-
And install it:
:so ~/.vimrc :PlugInstall
- copy all of the files into your
~/.vim
directory
Add the following in your .vimrc
or .gvimrc
:
Set encoding to UTF-8 to show glyphs
set encoding=utf8
Set Vim font to a Nerd Font
Linux
set guifont=<FONT_NAME> <FONT_SIZE>
set guifont=DroidSansMono\ Nerd\ Font\ 11
macOS (OS X) and Windows
set guifont=<FONT_NAME>:h<FONT_SIZE>
set guifont=DroidSansMono\ Nerd\ Font:h11
" or:
set guifont=DroidSansMono_Nerd_Font:h11
Note: if you don't set guifont
then you'll have to set your terminal's
font, else things break!
If you use vim-airline you need this:
let g:airline_powerline_fonts = 1
This Wiki and the Readme contain a lot of information, please take your time to read the information.
If you run into any trouble, please start by looking in the FAQ.
There are very detailed Changelog and Release changes available.
Be sure to read the Contributing Guide before opening a pull request to Nerd Fonts.
-
Vote for VimDevIcons on vim.org