e30fca43b3
subrepo: subdir: "dotfiles/.vim/plugged/vim-devicons" merged: "71f239af2" upstream: origin: "https://github.com/ryanoasis/vim-devicons.git" branch: "master" commit: "71f239af2" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
107 lines
5.9 KiB
Markdown
107 lines
5.9 KiB
Markdown
<h1 align="center">
|
|
<img src="https://raw.githubusercontent.com/wiki/ryanoasis/vim-devicons/screenshots/v0.10.x/branding-logo-3.svg?sanitize=true" alt="VimDevIcons - Add Icons to Your Plugins">
|
|
</h1>
|
|
|
|
<div align="center">
|
|
|
|
![version](https://img.shields.io/github/release/ryanoasis/vim-devicons.svg?style=for-the-badge)
|
|
![chat on gitter](https://img.shields.io/gitter/room/nwjs/nw.js.svg?style=for-the-badge)
|
|
![code of conduct](https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=for-the-badge)
|
|
![prs welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=for-the-badge&logo=data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAACWFBMVEXXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWkrXWko2FeWCAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAAI28AACNvATX8B%2FsAAAAHdElNRQfhBQMBMCLAfV85AAAAi0lEQVQ4y2NgIBYszkPmJc5ORZE9DgEJqNxmmPS%2B43AA4h5B5TIwbD5%2BHFnoKCoXYSBMBIW7CF0eAxChoPM4ARXHB4GCZEIKKA8H%2FCoWE1LAwIBfBVp6wQA1DPhVzMJMcyggCVuqxGI%2FLhWY6Z6QPKoK7HmHkDwDwxYC8gwMdSDprXiz6PHjpQxUBgCLDfI7GXNh5gAAAABJRU5ErkJggg%3D%3D)
|
|
![CI](https://img.shields.io/github/workflow/status/ryanoasis/vim-devicons/CI?label=CI&style=for-the-badge)
|
|
|
|
</div>
|
|
|
|
> Supports plugins such as [NERDTree](https://github.com/preservim/nerdtree), [vim-airline](https://github.com/vim-airline/vim-airline), [CtrlP](https://github.com/ctrlpvim/ctrlp.vim), [powerline](https://github.com/powerline/powerline), [denite](https://github.com/Shougo/denite.nvim), [unite](https://github.com/Shougo/unite.vim), [lightline.vim](https://github.com/itchyny/lightline.vim), [vim-startify](https://github.com/mhinz/vim-startify), [vimfiler](https://github.com/Shougo/vimfiler.vim), [vim-buffet](https://github.com/bagrat/vim-buffet) and [flagship](https://github.com/tpope/vim-flagship).
|
|
|
|
<h3 align="center">
|
|
<img src="https://github.com/ryanoasis/vim-devicons/wiki/screenshots/v0.10.x/overall-screenshot.png" alt="vim-devicons overall screenshot" />
|
|
</h3>
|
|
|
|
> See [Screenshots](https://github.com/ryanoasis/vim-devicons/wiki/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](https://github.com/ryanoasis/nerd-fonts).
|
|
|
|
> See [Detailed Features](https://github.com/ryanoasis/vim-devicons/wiki/Detailed-Features) for more.
|
|
|
|
> See [Configuration](https://github.com/ryanoasis/vim-devicons/wiki/Extra-Configuration) for a list of configuration and customization options.
|
|
|
|
Installation
|
|
------------
|
|
|
|
1. Install a [Nerd Font compatible font](https://github.com/ryanoasis/nerd-fonts#font-installation) or [patch your own](https://github.com/ryanoasis/nerd-fonts#font-patcher). Then set your terminal font (or `guifont` if you are using GUI version of Vim).
|
|
1. Install the Vim plugin with your favorite plugin manager, e.g. [vim-plug](https://github.com/junegunn/vim-plug):
|
|
|
|
```vim
|
|
Plug 'ryanoasis/vim-devicons'
|
|
```
|
|
|
|
> Always load the vim-devicons as the very last one.
|
|
|
|
1. Configure Vim
|
|
|
|
```vim
|
|
set encoding=UTF-8
|
|
```
|
|
|
|
> No need to set explicitly under Neovim: always uses UTF-8 as the default encoding.
|
|
|
|
|
|
> See [Installation](https://github.com/ryanoasis/vim-devicons/wiki/Installation) for detailed setup instructions
|
|
|
|
Use `:help devicons` for further configuration.
|
|
|
|
Developers
|
|
----------
|
|
|
|
See [DEVELOPER](DEVELOPER.md) for how to use the API.
|
|
|
|
Troubleshooting
|
|
---------------
|
|
|
|
See [FAQ](https://github.com/ryanoasis/vim-devicons/wiki/FAQ-&-Troubleshooting).
|
|
|
|
Contributing
|
|
------------
|
|
|
|
### [Code of Conduct](CODE_OF_CONDUCT.md)
|
|
|
|
This project has adopted a Code of Conduct that we expect project participants to adhere to. Check out [code of conduct](CODE_OF_CONDUCT.md) for further details.
|
|
|
|
### [Contributing Guide](CONTRIBUTING.md)
|
|
|
|
Read our [contributing](CONTRIBUTING.md) 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.
|
|
|
|
- Star this repository [on GitHub](https://github.com/ryanoasis/vim-devicons).
|
|
- Vote for it [on vim.org](http://www.vim.org/scripts/script.php?script_id=5114).
|
|
|
|
Acknowledgments
|
|
---------------
|
|
|
|
Thanks goes to these people for inspiration and helping with sending PRs.
|
|
|
|
- [vim-airline](https://github.com/vim-airline/vim-airline)
|
|
- [nerdtree](https://github.com/preservim/nerdtree)
|
|
- [nerdtree-git-plugin](https://github.com/Xuyuanp/nerdtree-git-plugin) by [@Xuyuanp](https://github.com/Xuyuanp)
|
|
- [seti-ui](https://atom.io/themes/seti-ui) by [@jesseweed](https://github.com/jesseweed)
|
|
- [devicons](http://vorillaz.github.io/devicons) by [@vorillaz](https://github.com/vorillaz)
|
|
- [development.svg.icons](https://github.com/benatespina/development.svg.icons) by [@benatespina](https://github.com/benatespina)
|
|
- [Learn Vimscript the Hard Way](http://learnvimscriptthehardway.stevelosh.com/) book by [Steve Losh](http://stevelosh.com/)
|
|
- All [contributors](https://github.com/ryanoasis/vim-devicons/graphs/contributors)
|
|
|
|
License
|
|
-------
|
|
|
|
[MIT](LICENSE)
|