ncmpcpp-cheatsheet

Cheat sheet generator for ncmpcpp

MIT License

Stars
5

ncmpcpp cheat sheet License

Cheat sheet generator for ncmpcpp, click here for the cheat sheet.

Dependencies

  • Python 3.x (tested on 3.4)
  • Python-jinja

Generating the cheat sheet

Since I haven't found a way to get the key mapping of ncmpcpp from the source code, we copy text from ncmpcpp help screen. Open ncmpcpp, select the text by pressing the shift key and copy it to a file named 'keys.txt'.

Now run generate_keys.py which takes the 'keys.txt' file, parses it, reads the jinja template from templates and creates an index.html page in the html directory.

To view the generated page, just run

$BROWSER html/index.html

Credit

The CSS styles are copied from the vim-cheat-sheet project

Badges
Extracted from project README
License