This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+lang/alda/README.org
Maximilian Wolff 5f12569954
Move conda and ipython-notebook layer from +lang to +tools category
Also adjusted the tags to match the folders the layers
are in. I have also updated the binding for imenu mentioned
in protobuf layer and adapted the kubernetes tags to register
as tool instead of as os.
2020-04-18 21:28:14 +02:00

42 lines
1.4 KiB
Org Mode

#+TITLE: Alda Layer
#+TAGS: layer|music|programming
[[file:img/alda.png]]
* Table of Contents :TOC_5_gh:noexport:
- [[#description][Description]]
- [[#features][Features:]]
- [[#install][Install]]
- [[#key-bindings][Key bindings]]
* Description
Alda is a music composition language allowing music to easily be written and
edited in a text file.
This layer adds key bindings for =alda-mode='s functions, which allow Alda code
to be interpreted and played by the running Alda server. It will also start the
Alda server if it is not running.
** Features:
- Syntax highlighting for Alda files.
- Play portions of a buffer, or the entire buffer,
through a running Alda server.
* Install
Add =alda= to the =dotspacemacs-configuration-layers= list in =~/.spacemacs=.
You will also want to ensure that you have installed [[https://github.com/alda-lang/alda/releases][Alda]] so that =alda-mode=
can play your code.
* Key bindings
When alda-mode is active in an Alda file, you can use these key bindings:
| Key binding | Description |
|-------------+---------------------------------|
| ~SPC m b~ | Play the entire buffer |
| ~SPC m c~ | Play block (paragraph on point) |
| ~SPC m r~ | Play region (selected text) |
| ~SPC m n~ | Plays the current line |
Note that if the Alda server is not running, =alda-mode= will start the server,
and you will have to run the command again.