Skip to content

Instantly share code, notes, and snippets.

@mythical-programmer
Last active August 26, 2015 20:08
Show Gist options
  • Save mythical-programmer/f99158f2db62186f4c8b to your computer and use it in GitHub Desktop.
Save mythical-programmer/f99158f2db62186f4c8b to your computer and use it in GitHub Desktop.
sublime: RegReplace commands, settings user
{
"replacements": {
"newlines_to_escaped_newline_chars": {
"find": "\n",
"replace": "\\\\n",
"greedy": true,
"case": false
},
"tabs_to_escaped_tab_chars": {
"find": "\t",
"replace": " ",
"greedy": true,
"case": false
},
"escaped_newline_chars_to_newlines": {
"find": "\\\\n",
"replace": "\\n",
"greedy": true,
"case": false
},
"escaped_tab_chars_to_tabs": {
"find": "\\\\t",
"replace": " ",
"greedy": true,
"case": false
}
},
// Search under selection(s) if and only if exists
"selection_only": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment