this PR pulls in an idea from SuperCollider: that Ctl+Enter will evaluate the current line or the current selection. to do this I made two changes:
Ctl+Enter is valid key-binding to do a eval
the eval will evaluate the current line if nothing is selected
why? this PR makes maiden easier to use as a live coding environment. I've started using maiden as a live-coding environment but currently I'm doing this with vim with special bindings+utilities to send lines to maiden. however, I thought if I were to make this available to other people it would be great to have the "send current line" functionality available in maiden, which is much easier to use than vim.
of course, feel free to completely ignore this PR for any reason :)
this PR pulls in an idea from SuperCollider: that Ctl+Enter will evaluate the current line or the current selection. to do this I made two changes:
eval
eval
will evaluate the current line if nothing is selectedwhy? this PR makes maiden easier to use as a live coding environment. I've started using maiden as a live-coding environment but currently I'm doing this with vim with special bindings+utilities to send lines to maiden. however, I thought if I were to make this available to other people it would be great to have the "send current line" functionality available in maiden, which is much easier to use than vim.
of course, feel free to completely ignore this PR for any reason :)