Sublime Forum

Sublime Plugin - "Transform Again"?

#1

In photoshop and some other programs, you can ‘record’ what do you, stop the recording, then ‘play’ it again, effectively applying your recorded manipulations to another item.

This concept should be applicable to text editors too, by tracking relative insertion, movements, etc.

I searched for such a Sublime plugin that does this but could not find anything. Asking here in case anyone knows of one.

0 Likes

#2

Sublime supports macros, which let you record your actions for re-use (or you can just hand craft one). Have you tried that?

0 Likes

#3

Sadly sublime macros won’t record most editor actions, only TextCommands. So if you want to record a few keystrokes or cursor movements, fine. But if, for example, you want to record find command as part of your repeatable sequence, you’re out of luck.

This is one of the biggest and most longstanding missing features in Sublime imo. So for complex macro operations I have to resort to another editor (usually) or write a python script. I live in hope that team sublime has this on the roadmap.

0 Likes

#4

Did you try the following?

  • View
  • Show Console
  • import sublime; sublime.log_commands(True) (set to false to disable again)
0 Likes