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

Save codeblocks for on-demand execution #4

Open
filipesilva opened this issue Jan 23, 2023 · 0 comments
Open

Save codeblocks for on-demand execution #4

filipesilva opened this issue Jan 23, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@filipesilva
Copy link
Owner

It would be nice to be able to save a codeblock, then execute it somewhere else via the command palette or a hotkey.

Vault bindings would contain the file it was executed over, and also the selected text range. This way you could call scripts to operate over text selections.

A cool way to save/invoke this codeblocks is through real-time-strategy game grouping commands:

  • cmd/ctrl + 1 = execute codeblock on slot 1
  • cmd/ctrl + shift + 1 = save on slot 1
@filipesilva filipesilva added the enhancement New feature or request label Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant