Skip to content

Instantly share code, notes, and snippets.

@wikimatze
Created January 5, 2017 20:10
Show Gist options
  • Select an option

  • Save wikimatze/071e6b11be8ec751967022df11ebde54 to your computer and use it in GitHub Desktop.

Select an option

Save wikimatze/071e6b11be8ec751967022df11ebde54 to your computer and use it in GitHub Desktop.
Vimberlin talk

cmus and vim

author : Matthias Günther date : 2017/01/19

cmus

  • small, fast and powerful console music player for Unix-like operating systems

Benefits of cmus

  • easy to use directory browser
  • customizable colors
  • instant startup, even with thousands of tracks

Browse file system and add tracks

  • 5 ... go into the browse mode
  • a ... add selection to library
  • :add ~/music ... same as 'a'
  • D ... remove selection from library

Artist view

  • 1 ... go into the mode
  • <space> ... see albums of the authors

Library view

  • 2 ... library view (sorted)

Play commands I

  • b ... plays next track
  • z ... plays previous
  • c ... pause, continue

Play commands II

  • x ... restart track
  • p/P ... change order of entries

Play commands statuschanges I

  • m ... cycle through play modi (all, album artist)
  • M ... switch modes without interrupting the currently-playing song
  • r ... repeat the playlist when the end is reached

Play commands statuschanges II

  • s ... shuffle (see S in the commandline)
  • C ... shuffle continue playing the next song

Fill queue and playlist

  • y ... add the selected song to playlist (3)
  • e ... mark the songs to the queue (4) (FIFO)

vim-cmus I

  • :CmusCurrent ... shows the information of current song
  • :CmusPrevious ... play previous song
  • :CmusNext ... play next song

vim-cmus II

  • :CmusPause ... halt playing the current song
  • :CmusPlay ... continue playing song
  • :CmusStop ... halt playing and go to the beginning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment