Git Product home page Git Product logo

ranger_devicons's Introduction

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

Ranger has added support for loading directories in the plugins folder 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 execute the following echo "default_linemode devicons" >> $HOME/.config/ranger/rc.conf (or wherever your rc.conf is located).

Configuration

This plugin can be configured by setting environment variables (e.g. in your ~/.profile). Currently, only one option is available:

  • RANGER_DEVICONS_SEPARATOR (default " ", i.e. a single space): The separator between icon and filename. Some terminals use the adjacent space to display a bigger icon, in which case this can be set to two spaces instead.

ranger_devicons's People

Contributors

alexanderjeurissen avatar anderrasovazquez avatar andys8 avatar babkock avatar cab-1729 avatar cjbassi avatar crivotz avatar echasnovski avatar echuraev avatar fdw avatar fedebenelli avatar j-degreef avatar kevinhwang91 avatar kitty-panics avatar krook1024 avatar labatata101 avatar limakzi avatar logandungeon avatar magnetophon avatar monirzadeh avatar neilweidinger avatar sim590 avatar sohorx avatar the-compiler avatar westofer avatar xuehaipan avatar yagua avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.