Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

        "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

1 Answer 1

up vote 1 down vote accepted

Use the RegReplace Plugin

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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.