Sublime Forum

Specific signs replacement - script

#1

Dear all,

I’d like to ask you for your help with my latest problem.
I’m one of happy SublimeText 3 users but I’m also frequently working with text files which contains three signs “(” “)” “,” which need to be replaced by a space sign.
Up to now, I’ve been pressing CTRL+H and replacing each of mentioned signs separately but its very annoying solution.
Is there any efficient method like a script which could be executed by specific button combination?

Looking for the solution I found this: gist.github.com/titoBouzout/562 … 6145e67a67
but it doesn’t work for me (I can’t open the search or replace window through “super+alt+m”, “f” combination.
There is also RegReplace plugin but I wasn’t able to configure it myself.

Thank you in advance.

Best regards
Jakub

0 Likes

#2

RegReplace is a great solution for something like this, but I do admit, there is a bit of setup involved, but once its setup, it makes things easy. If you want to continue down that route, please post a question over at facelessuser.github.io/RegReplace/usage/.

If you are adamant in looking for another way, then I am sure someone here will eventually guide you down an alternate path.

0 Likes