vim-devicons


Ⅰ. 插件描述

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

Ⅱ. 基本信息

创建日期:  2014-11-22
使用用户:  2729
Github星:  3121
插件作者:  Ryan L McIntyre

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'ryanoasis/vim-devicons'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'ryanoasis/vim-devicons'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'ryanoasis/vim-devicons'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/ryanoasis/vim-devicons

Ⅳ. 文档说明

<h1 align="center">
VimDevIcons - Add Icons to Your Plugins
</h1>

<div align="center">

version
chat on gitter
code of conduct
prs welcome
travis-ci status

</div>

Supports plugins such as NERDTree, vim-airline, CtrlP, powerline, denite, unite, lightline.vim, vim-startify, vimfiler, vim-buffet and flagship.

<h3 align="center">
vim-devicons overall screenshot
</h3>

See Screenshots for more.

Features

  • Adds filetype glyphs (icons) to various vim plugins.
  • Customizable and extendable glyphs settings.
  • Supports a wide range of file type extensions.
  • Supports popular full filenames, like .gitignore, node_modules, .vimrc, and many more.
  • Supports byte order marker (BOM).
  • Works with patched fonts, especially Nerd Fonts.

See Detailed Features for more.

See Configuration for a list of configuration and customization options.

Installation

  1. Install a Nerd Font compatible font or patch your own. Then set your terminal font (or guifont if you are using GUI version of Vim).
  2. Install the Vim plugin with your favorite plugin manager, e.g. vim-plug:

    Plug 'ryanoasis/vim-devicons'
> Always load the vim-devicons as the very last one.
  1. Configure Vim

    set encoding=UTF-8
> No need to set explicitly under Neovim: always uses UTF-8 as the default encoding.

See Installation for detailed setup instructions

Use :help devicons for further configuration.

Developers

See DEVELOPER for how to use the API.

Troubleshooting

See FAQ.

Contributing

Code of Conduct

This project has adopted a Code of Conduct that we expect project participants to adhere to. Check out code of conduct for further details.

Contributing Guide

Read our contributing guide to learn about how to send pull requests, creating issues properly.

Promotion

You can help us by simply giving a star or voting on vim.org. It will ensure continued development going forward.

Acknowledgments

Thanks goes to these people for inspiration and helping with sending PRs.

License

MIT

添加新评论