-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
Default.sublime-commands
executable file
·80 lines (74 loc) · 2.29 KB
/
Default.sublime-commands
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[
// Clear all find highlights
{
"caption": "RegReplace: Clear Highlights",
"command": "reg_replace",
"args": {"clear": true}
},
// Edit regular expression rule.
{
"caption": "RegReplace: Edit Regular Expression Rule",
"command": "reg_replace_edit_regex"
},
// Create regular expression rule.
{
"caption": "RegReplace: Create New Regular Expression Rule",
"command": "reg_replace_edit_regex",
"args": {"new": true}
},
// Delete regular expression rule.
{
"caption": "RegReplace: Delete Regular Expression Rule",
"command": "reg_replace_delete_regex"
},
// Show the regular expression rule edit panel.
{
"caption": "RegReplace: Show Edit Panel",
"command": "reg_replace_show_edit_panel"
},
// Example commands.
// {
// "caption": "Reg Replace: HTML5 Remove Deprecated Type Attr",
// "command": "reg_replace",
// "args": {"replacements": ["html5_remove_deprecated_type_attr"]}
// },
// {
// "caption": "Reg Replace: Remove Trailing Spaces",
// "command": "reg_replace",
// "args": {"replacements": ["remove_trailing_spaces"]}
// },
// // Chained replacements in one command
// {
// "caption": "Reg Replace: Remove HTML Comments and Trailing Spaces",
// "command": "reg_replace",
// "args": {"replacements": ["remove_html_comments", "remove_trailing_spaces"]}
// },
// Preferences
{
"caption": "RegReplace: Settings",
"command": "edit_settings",
"args": {
"base_file": "${packages}/RegReplace/reg_replace.sublime-settings",
"default": "{\n$0\n}\n"
}
},
{
"caption": "RegReplace: User Rules",
"command": "open_file",
"args": {"file": "${packages}/User/reg_replace_rules.sublime-settings"}
},
{
"caption": "RegReplace: Documentation",
"command": "reg_replace_open_site",
"args": {
"url": "http://facelessuser.github.io/RegReplace/"
}
},
{
"caption": "RegReplace: Quick Start Guide",
"command": "reg_replace_doc",
"args": {
"page": "${packages}/RegReplace/quickstart.md"
}
}
]