Sublime Forum

ST2 bug with stop_record_macro

#1

I wanted to create a key binding to playback the currently-recording macro. Simply using the command “run_macro” doesn’t work while the macro is still recording; you have to stop it first. So I created a macro file which simply contained the “stop_record_macro” command followed by a “run_macro” command, but odd things happen (particularly in moving the caret around) when you do this. Could I suggest in the first instance that the “run_macro” command automatically issues a “stop_record_macro” command if there’s one currently recording? It’d also be good to figure out why issuing these commands from within a saved macro results in unpredictable behaviour.

0 Likes