klips/ansible/roles/core/files/ranger/plugins/ranger_devicons
Shaun Reed 59d482cad7 Update to more recent Ansible roles 2020-11-25 11:38:20 +00:00
..
.gitignore Update to more recent Ansible roles 2020-11-25 11:38:20 +00:00
LICENSE Update to more recent Ansible roles 2020-11-25 11:38:20 +00:00
LICENSE_NERDFONT Update to more recent Ansible roles 2020-11-25 11:38:20 +00:00
Makefile Update to more recent Ansible roles 2020-11-25 11:38:20 +00:00
README.md Update to more recent Ansible roles 2020-11-25 11:38:20 +00:00
__init__.py Update to more recent Ansible roles 2020-11-25 11:38:20 +00:00
__init__.pyo Update to more recent Ansible roles 2020-11-25 11:38:20 +00:00
devicons.py Update to more recent Ansible roles 2020-11-25 11:38:20 +00:00
devicons.pyo Update to more recent Ansible roles 2020-11-25 11:38:20 +00:00
screenshot.png Update to more recent Ansible roles 2020-11-25 11:38:20 +00:00

README.md

File icons for the Ranger file manager

This plugin introduces a new linemode that prefixes file names with a file icon

image

Prerequisites

This plugin uses glyphs from a patched NERDfont. So in order for this plugin to work you need to install a NERDfont and set it as the default font for your terminal.

I personally use the Source Code Pro patched NERDfont(this is also the font displayed in the screenshot), this and other NERDfonts and the install instructions for these fonts can be found in the following repository: https://github.com/ryanoasis/nerd-fonts

Install instructions

Stable method:

A makefile is included to install and uninstall this plugin. to install simply run: make install and to uninstall the plugin run make uninstall.

Experimental method:

Ranger has added support for loading directories in the plugins folder to master which makes it easier to install and keep plugins updated.
To install, just clone the repo into the plugins folder:

git clone https://github.com/alexanderjeurissen/ranger_devicons ~/.config/ranger/plugins/ranger_devicons

Then add default_linemode devicons to your rc.conf.