Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cdump/ranger-devicons2
https://github.com/cdump/ranger-devicons2
devicons ranger ranger-fm ranger-linemode
Last synced: about 23 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/cdump/ranger-devicons2
- Owner: cdump
- License: mit
- Created: 2020-05-05T06:23:36.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-11-06T17:17:20.000Z (7 days ago)
- Last Synced: 2024-11-06T18:26:30.932Z (7 days ago)
- Topics: devicons, ranger, ranger-fm, ranger-linemode
- Language: Python
- Size: 114 KB
- Stars: 57
- Watchers: 4
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- ranger-awesome - ranger-devicons2 - F`) in file list (Plugins)
README
# ranger-devicons2
Adds an icon and type (like `ls -F`) to the ranger's file list![screenshot](./screenshot.png)
## Why, if ranger-devicons already exists?
- simple sync with nvim-web-devicons: gen_icons.sh
- not only exact match, but also pattern_match (ex: `.*vimrc.*`)
- show "type symbol" (like `ls -F`)## 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 font2. Clone:
```sh
git clone https://github.com/cdump/ranger-devicons2 ~/.config/ranger/plugins/devicons2
```3. Add/change `default_linemode devicons2` in your `~/.config/ranger/rc.conf`
## Acknowledgments
- icons rules autogenerated (with gen_icons.sh) from [nvim-web-devicons](https://github.com/nvim-tree/nvim-web-devicons)
- inspired by [ranger-devicons](https://github.com/alexanderjeurissen/ranger_devicons)