Ranger Plugin for Integration with Cmus Audio Player

maximtrp maximtrp Last update: May 15, 2022

ranger-cmus

This is a plugin for ranger file manager that adds 3 custom commands for interacting with cmus audio player:

  • :cmus_play: sending files/folders to playlist.
  • :cmus_lib: adding files/folders to library.
  • :cmus_queue: enqueuing files/folders.

Installation

Clone this repo into ranger plugins folder.

cd ~/.config/ranger/plugins/git clone https://github.com/maximtrp/ranger-cmus.git

Usage

Just select or mark some files/folders and enter one of the commands, e.g. :cmus_play.

You can also add these lines to ~/.config/ranger/rc.conf to use these keyboard shortcuts (ep, el, eq):

map ep cmus_playmap el cmus_libmap eq cmus_queue

Subscribe to our newsletter