Adds an icon and type (like ls -F
) to the ranger's file list
- 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
)
-
Install a Nerd Font compatible font or patch your own, then set your terminal font
-
Clone:
git clone https://github.com/cdump/ranger-devicons2 ~/.config/ranger/plugins/devicons2
- Add/change
default_linemode devicons2
in your~/.config/ranger/rc.conf
- icons rules autogenerated (with gen_icons.sh) from nvim-web-devicons
- inspired by ranger-devicons