Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I first tried recording a macro, but instead of recording the character sequence it records my commands and movements without arguments, like this:

"args":
    {
        "close_panel": true
    },
    "command": "replace_all"

So how could I manually edit a .sublime-macro file to do a case sensitive replace for a list of unicode characters?

share|improve this question
up vote 1 down vote accepted

Use the RegReplace Plugin
https://www.sublimetext.com/forum/viewtopic.php?f=5&t=4594

I believe it works best in ST3.

From http://geeklit.blogspot.com/2013/09/scripting-regular-expressions.html

// Test the RegReplace Sublime Plugin
   "test_reg_replace": {
   "find" : "testxxxxx",
   "replace": "it works!"
 }
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .