Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding sonic-pi-send-line #24

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

derekxkwan
Copy link

Not sure if this helpful for others, but found it a bit of work to execute one-liners like require "~/stuff" and function calling. So I basically copied sonic-pi-send-region to make sonic-pi-send-line changing (region-beginning) to (line-beginning-position) and (region-end) to (line-end-position) and bound this to C-c C-w (taking inspiration from C-w/M-w line yanking/copying).

Not 100% on the C-c C-w keybinding but it doesn't seem to clash with any other modes I've got going on in sonic-pi buffers.

@derekxkwan
Copy link
Author

Or maybe this sort of functionality could get merged into sonic-pi-send-region if no region is selected in the interest of not polluting keybinding space?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant