Evaluate Markdown code blocks within Vim(github.com) |
Evaluate Markdown code blocks within Vim(github.com) |
It's so useful for one-off report generation, I use it daily on my (last remaining) Windoze machine.
Vomscript isn't that bad! Not any worse than Bash, haha. It turns out that you can get plenty done with only arrays and without a native Map data structure. If you get desperate, use SQLite. *Grin*
yy@"
In other words, execute the " register (what you just copied) as a macro. In the same vein, yy@0 would work as well (the 0 register is the last yank).Also, what do you mean without a native map structure? Vimscript has Dictionaries just fine.
Then I can tweak commands, or chain the input from the buffers. (automatically using mkfifo or something)
I want my command to history stored in another buffer, and another buffer that I can quickly move the commands and/or output to a script or a markdown document for documentation.
That way I can quickly debug or build scripts, or perform analysis, and it will automatically have an executable to reproduce all my steps.
https://orgmode.org/worg/org-contrib/babel/intro.html
Jupyter is one of the supported languages.
https://github.com/emacs-jupyter/jupyter?tab=readme-ov-file#...
[1] https://gist.github.com/abdullahkhalids/83055b1abbd2cdf2416a...
[2] Yes, I know about org-mode and I do use it.
This is super easy in kakoune, requires few keystrokes and no customization, and can be done in any kind of buffer.