vim-medieval icon indicating copy to clipboard operation
vim-medieval copied to clipboard

EvalAllBlocks

Open MartyLake opened this issue 1 year ago • 2 comments

Hello gpanders, I am contemplating creating more elaborate vimwiki entries that would have multiple medieval blocks.

Right now, I can do this, but evaluating all of them requires me to go to each one and run :EvalBlock.

Would you think an :EvalAllBlock wrapper that re-evaluates all blocks from a file be valuable to other users too ?

Best,

MartyLake avatar Feb 24 '25 12:02 MartyLake

This feature would be useful for me as well.

foggynight avatar Sep 01 '25 21:09 foggynight

I think instead we should make :EvalBlock take a range and have it evaluate all blocks within the range. Then you can just use :%Eval to evaluate all blocks in the buffer.

gpanders avatar Sep 01 '25 22:09 gpanders