-
Notifications
You must be signed in to change notification settings - Fork 2
/
Default.sublime-commands
97 lines (96 loc) · 2.08 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[
/* Prompts for a command and executes it on the shell */
{
"caption": "FilterPipes: Send Text to Command",
"command": "filter_pipes_exec_prompt"
},
/* Creates (or opens) your own customer FilterPipes plugin */
{
"caption": "FilterPipes: My Custom Filters Plugin",
"command": "filter_pipes_my_plugin"
},
/* Various encode/decode functions provided in filters.py */
{
"caption": "FilterPipes: Base64 Encode",
"command": "filter_pipes_base64",
"args": {
"decode": false,
"wrap": 64
}
},
{
"caption": "FilterPipes: Base64 Decode",
"command": "filter_pipes_base64",
"args": {
"decode": true
}
},
{
"caption": "FilterPipes: URL Encode",
"command": "filter_pipes_urlencode",
"args": {
"decode": false
}
},
{
"caption": "FilterPipes: URL Decode",
"command": "filter_pipes_urlencode",
"args": {
"decode": true
}
},
{
"caption": "FilterPipes: String Escape",
"command": "filter_pipes_escape"
},
{
"caption": "FilterPipes: String Unescape",
"command": "filter_pipes_escape",
"args": {
"decode": true
}
},
/* Example of using the filter_pipes_regex functionality */
{
"caption": "FilterPipes: Strip Trailing Space",
"command": "filter_pipes_regex",
"args": {
"regex": "[\t ]+$",
"replacement": "",
"lines": true
}
},
/* Advanced regex with post_init use */
{
"caption": "FilterPipes: Hex to Decimal",
"command": "filter_pipes_int_to_int",
"args": {
"from_base": 16,
"to_base": 10
}
},
{
"caption": "FilterPipes: Decimal to Hex",
"command": "filter_pipes_int_to_int",
"args": {
"from_base": 10,
"to_base": 16
}
},
{
"caption": "FilterPipes: Decimal to Octal",
"command": "filter_pipes_int_to_int",
"args": {
"from_base": 10,
"to_base": 8
}
},
{
"caption": "FilterPipes: Octal to Decimal",
"command": "filter_pipes_int_to_int",
"args": {
"from_base": 8,
"to_base": 10
}
}
]