-
Notifications
You must be signed in to change notification settings - Fork 5
/
Extras.sublime-commands
208 lines (199 loc) · 6.02 KB
/
Extras.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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
/*
This is hereby released completely and irrevocably into the Public Domain.
- Joshua Landau <[email protected]>
*/
[
{
"caption": "Find All Under",
"command": "better_find_all_under",
},
{
"caption": "Align Cursors",
"command": "align_cursors",
},
{
"caption": "Substitute in Selection",
"command": "evaluate_selection",
"args": { "execute": false }
},
{
"caption": "Execute, Evaluate Selections",
"command": "evaluate_selection",
"args": { "execute": true }
},
{
"caption": "Repeat Macro",
"command": "repeat_macro"
},
{
"caption": "Split Selection into Characters",
"command": "split_selection_into_chars"
},
{
"caption": "Split Selection into Words",
"command": "split_selection_into_words"
},
{
"caption": "Remove Blank Lines in Selections",
"command": "remove_blank_line_selections",
},
{
"caption": "Store Selections",
"command": "store_selections",
"args": { "preset": "selection storage", "doubleclick": true }
},
{
"caption": "Activate and Clear Selections",
"command": "activate_selections",
"args": { "preset": "selection storage", "clear": true }
},
{
"caption": "Activate and Keep Selections",
"command": "activate_selections",
"args": { "preset": "selection storage", "clear": false }
},
{
"caption": "Activate Selected Selections",
"command": "activate_selected_selections",
"args": { "preset": "selection storage" }
},
{
"caption": "Clear Saved Selections",
"command": "clear_saved_selections",
"args": { "preset": "selection storage" }
},
{ "caption": "Remove every 2nd selection", "command": "every_nth_selection", "args": {"n": 2, "filter": "remove" } },
{ "caption": "Remove every 3rd selection", "command": "every_nth_selection", "args": {"n": 3, "filter": "remove" } },
{ "caption": "Remove every 4th selection", "command": "every_nth_selection", "args": {"n": 4, "filter": "remove" } },
{ "caption": "Remove every 5th selection", "command": "every_nth_selection", "args": {"n": 5, "filter": "remove" } },
{ "caption": "Remove every 6th selection", "command": "every_nth_selection", "args": {"n": 6, "filter": "remove" } },
{ "caption": "Remove every 7th selection", "command": "every_nth_selection", "args": {"n": 7, "filter": "remove" } },
{ "caption": "Remove every 8th selection", "command": "every_nth_selection", "args": {"n": 8, "filter": "remove" } },
{ "caption": "Remove every 9th selection", "command": "every_nth_selection", "args": {"n": 9, "filter": "remove" } },
{ "caption": "Keep only every 2nd selection", "command": "every_nth_selection", "args": {"n": 2, "filter": "keep" } },
{ "caption": "Keep only every 3rd selection", "command": "every_nth_selection", "args": {"n": 3, "filter": "keep" } },
{ "caption": "Keep only every 4th selection", "command": "every_nth_selection", "args": {"n": 4, "filter": "keep" } },
{ "caption": "Keep only every 5th selection", "command": "every_nth_selection", "args": {"n": 5, "filter": "keep" } },
{ "caption": "Keep only every 6th selection", "command": "every_nth_selection", "args": {"n": 6, "filter": "keep" } },
{ "caption": "Keep only every 7th selection", "command": "every_nth_selection", "args": {"n": 7, "filter": "keep" } },
{ "caption": "Keep only every 8th selection", "command": "every_nth_selection", "args": {"n": 8, "filter": "keep" } },
{ "caption": "Keep only every 9th selection", "command": "every_nth_selection", "args": {"n": 9, "filter": "keep" } },
// EXTRAS:
// Commands not included by default that should be
{
"caption": "Split Selection into Lines",
"command": "split_selection_into_lines"
},
{
"caption": "Quit, Exit, Close All",
"command": "exit",
},
{
"caption": "New Window",
"command": "new_window",
},
{
"caption": "Close Window",
"command": "close_window",
},
{
"caption": "Open File",
"command": "prompt_open_file",
},
{
"caption": "Reopen Last File",
"command": "reopen_last_file",
},
{
"caption": "New File",
"command": "new_file",
},
{
"caption": "Save",
"command": "save",
},
{
"caption": "Save As",
"command": "prompt_save_as",
},
{
"caption": "Close File",
"command": "close_file",
},
{
"caption": "Close",
"command": "close",
},
{
"caption": "Toggle Full Screen",
"command": "toggle_full_screen",
},
{
"caption": "Toggle Distraction Free",
"command": "toggle_distraction_free",
},
{
"caption": "Paste Primary (Last Selected Text)",
"command": "paste",
"args": {"clipboard": "selection"},
},
{
"caption": "Paste from History",
"command": "paste_from_history",
},
{
"caption": "Toggle Record Macro",
"command": "toggle_record_macro",
},
{
"caption": "Run Macro",
"command": "run_macro",
},
{
"caption": "Toggle Spell Check",
"command": "toggle_setting",
"args": {"setting": "spell_check"},
},
{
"caption": "Join Lines",
"command": "join_lines",
},
{
"caption": "Duplicate",
"command": "duplicate_line",
},
{
"caption": "Toggle Sublime Text Console",
"command": "show_panel",
"args": {"panel": "console", "toggle": true},
},
{
"caption": "Transpose",
"command": "transpose",
},
{
"caption": "Wrap Lines",
"command": "wrap_lines",
},
{
"caption": "Show at Center",
"command": "show_at_center",
},
{
"caption": "Fold",
"command": "fold",
},
{
"caption": "Unfold",
"command": "unfold",
},
{ "caption": "Fold to Level 1", "command": "fold_by_level", "args": {"level": 1} },
{ "caption": "Fold to Level 2", "command": "fold_by_level", "args": {"level": 2} },
{ "caption": "Fold to Level 3", "command": "fold_by_level", "args": {"level": 3} },
{ "caption": "Fold to Level 4", "command": "fold_by_level", "args": {"level": 4} },
{ "caption": "Fold to Level 5", "command": "fold_by_level", "args": {"level": 5} },
{ "caption": "Fold to Level 6", "command": "fold_by_level", "args": {"level": 6} },
{ "caption": "Fold to Level 7", "command": "fold_by_level", "args": {"level": 7} },
{ "caption": "Fold to Level 8", "command": "fold_by_level", "args": {"level": 8} },
{ "caption": "Fold to Level 9", "command": "fold_by_level", "args": {"level": 9} },
]