19 Commits

Author SHA1 Message Date
Dave Yarwood
f9b189166e PlayBuffer shouldn't alter the REPL server state 2021-07-05 12:04:03 -04:00
Dave Yarwood
ec1c43dd58 Alda 2 REPL integration 2021-06-28 21:33:06 -04:00
Dave Yarwood
833e265d65 Move "Stopping playback." message into the Alda CLI itself 2021-06-27 22:30:47 -04:00
Dave Yarwood
64b5725ace Add :Alda CLI wrapper 2021-06-27 22:19:07 -04:00
Dave Yarwood
f7c3c84ec9 Clean up echo area output a little 2021-06-27 17:37:55 -04:00
Dave Yarwood
9f549841c4 Remove everything history-related (no longer relevant in Alda 2) 2021-06-27 16:49:09 -04:00
Dave Yarwood
97f1580547 gg => gg0 to ensure that we start from the first character of the first line 2020-01-15 11:45:15 -05:00
Dave Yarwood
f7f6f62269 clear history when playing entire buffer 2018-08-26 06:19:45 -04:00
Dave Yarwood
1747a8283d add commands/keybindings for parsing score events 2018-02-05 06:26:02 -05:00
Dave Yarwood
7bab336179 rename AldaParseFile/AldaPlayFile to AldaParseBuffer/AldaPlayBuffer
It turns out that I had already renamed AldaPlayFile to AldaPlayBuffer, but
forgot to update the help text to reflect the change.

I like calling it a Buffer in the command instead of a File, because File
implies that you have to save the file and the file is what's getting passed to
Alda, when what we're really doing is piping all the text in the buffer into
Alda -- which is more convenient because you don't have to save the file first.
2018-02-04 10:27:59 -05:00
Dave Yarwood
a94bc64942 move g:alda_command initialization to a more sensible place 2017-10-16 21:28:44 -04:00
Dave Yarwood
0c77a104d1 play operator, async calls, misc. other improvements 2017-08-13 17:53:03 -04:00
Dave Yarwood
ac057da638 fix/update AldaParseFile (now <localleader>s)
- The `--lisp` option is no longer supported, so parsing fails altogether.
  Updated the `alda parse` command we run to not use this flag, so it works
  again.

- The output is JSON now, not Lisp code. As a convenience, vim-alda will
  recognize when you have `jq` on your $PATH and use it to pretty-print the
  JSON so that it's readable.

- Changed the parse mapping from <localleader>l to <localleader>s. The old
  mnemonic was L for "Lisp," but now that we aren't generating Lisp code, the
  new mnemonic is S for "Score."
2017-06-14 22:44:35 -04:00
Dave Yarwood
094f2bf320 load Alda fns only when needed 2015-11-25 18:13:47 -05:00
Dave Yarwood
6a0d5e63c1 AldaPlayFile command 2015-11-24 09:37:08 -05:00
Dave Yarwood
0feb6845df show 'please wait...' message when parsing 2015-11-23 03:00:03 -05:00
Dave Yarwood
cb6f8825ca score-parsing commands 2015-11-22 14:29:59 -05:00
Dave Yarwood
fac428b9bd folding 2015-11-21 15:44:43 -05:00
Dave Yarwood
45031eaae2 custom [[, ]], [], ][; start documenting 2015-11-21 15:28:58 -05:00