Plugins

Configuration

Writing Plugins

Plugins for fman are written in the Python programming language (version
3.5). If you don't know Python, don't worry. It's really easy to learn.

A simple plugin

To write your first plugin, create a new folder called
Hello World in the Plugins/User/ subdirectory of
your data directory.
Create the file Key Bindings.json in that directory, with the
following contents:

[
{ "keys": ["F3"], "command": "say_hi" }
]

Also create a subdirectory called hello_world in your new
folder. Place a new file called __init__.py in that directory
(i.e. in Plugins/​User/​Hello World/​hello_world/):