You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the best way to run an arbitrary block of code is to select it with visual mode and then use :MagmaEvaluateVisual which is itself clunky b/c you have to delete the '<,'> at the front or exit visual mode before running the command.
Either way, this method messes with the visual selection which is not ideal for user defined functions that run blocks of code.
I'd like to expose a vim function :MagmaEvaluateRange which takes a start line and an end line and evaluates those lines in the buffer.
This would enable users to more easily define their own text objects to run code with as mentioned in #19
The text was updated successfully, but these errors were encountered:
Currently the best way to run an arbitrary block of code is to select it with visual mode and then use
:MagmaEvaluateVisual
which is itself clunky b/c you have to delete the'<,'>
at the front or exit visual mode before running the command.Either way, this method messes with the visual selection which is not ideal for user defined functions that run blocks of code.
I'd like to expose a vim function
:MagmaEvaluateRange
which takes a start line and an end line and evaluates those lines in the buffer.This would enable users to more easily define their own text objects to run code with as mentioned in #19
The text was updated successfully, but these errors were encountered: