about summary refs log tree commit diff stats
path: root/vimrc.vim
Commit message (Collapse)AuthorAgeFilesLines
* 5856Kartik Agaram2020-01-011-9/+1
|
* 5758Kartik Agaram2019-11-251-5/+2
|
* 5749Kartik Agaram2019-11-171-1/+1
| | | | | Support running a single test when the current function around the cursor ends in '?'.
* 5662Kartik Agaram2019-09-151-2/+2
| | | | Fix several breakages.
* 5643Kartik Agaram2019-09-081-9/+5
|
* 5642Kartik Agaram2019-09-071-1/+1
|
* 5641Kartik Agaram2019-09-071-8/+0
|
* 5640Kartik Agaram2019-09-071-3/+6
|
* 5639 - tmux support for running a single testKartik Agaram2019-09-071-18/+35
| | | | | | | | Keep the top/left most pane for a shell, and try hitting `<Leader>t` from within a test. If you hit `<Leader>t` from within code, it will try to remember what test you ran last and rerun that.
* 5618Kartik Agaram2019-09-041-0/+2
|
* 5617Kartik Agaram2019-09-041-3/+0
|
* 5509Kartik Agaram2019-08-111-2/+2
|
* 5499Kartik Agaram2019-07-311-1/+0
|
* 5489 - fix a few broken linksKartik Agaram2019-07-271-1/+1
|
* 5485 - promote SubX to top-levelKartik Agaram2019-07-271-1/+76
|
* fork vimrc for Mu and SubXKartik Agaram2019-06-111-64/+0
| | | | | I checked if we needed to bring back anything since commit 3976, but the only difference is dropping the :(scenario) DSL.
* only open the trace if test failsKartik Agaram2019-06-111-2/+16
|
* new Vim convenience macroKartik Agaram2019-06-111-0/+3
| | | | Runs test under cursor and opens its trace.
* .Kartik Agaram2019-05-151-1/+1
|
* 5079Kartik Agaram2019-04-111-13/+2
|
* 5001 - drop the :(scenario) DSLKartik Agaram2019-03-121-23/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I've been saying for a while[1][2][3] that adding extra abstractions makes things harder for newcomers, and adding new notations doubly so. And then I notice this DSL in my own backyard. Makes me feel like a hypocrite. [1] https://news.ycombinator.com/item?id=13565743#13570092 [2] https://lobste.rs/s/to8wpr/configuration_files_are_canary_warning [3] https://lobste.rs/s/mdmcdi/little_languages_by_jon_bentley_1986#c_3miuf2 The implementation of the DSL was also highly hacky: a) It was happening in the tangle/ tool, but was utterly unrelated to tangling layers. b) There were several persnickety constraints on the different kinds of lines and the specific order they were expected in. I kept finding bugs where the translator would silently do the wrong thing. Or the error messages sucked, and readers may be stuck looking at the generated code to figure out what happened. Fixing error messages would require a lot more code, which is one of my arguments against DSLs in the first place: they may be easy to implement, but they're hard to design to go with the grain of the underlying platform. They require lots of iteration. Is that effort worth prioritizing in this project? On the other hand, the DSL did make at least some readers' life easier, the ones who weren't immediately put off by having to learn a strange syntax. There were fewer quotes to parse, fewer backslash escapes. Anyway, since there are also people who dislike having to put up with strange syntaxes, we'll call that consideration a wash and tear this DSL out. --- This commit was sheer drudgery. Hopefully it won't need to be redone with a new DSL because I grow sick of backslashes.
* 4985Kartik Agaram2019-02-231-0/+5
|
* 4875Kartik Agaram2018-12-251-1/+3
| | | | Another tweak for a light background.
* 4806Kartik Agaram2018-11-301-2/+2
| | | | | | Drop a wildcard in my edit shortcuts that's getting confused between apps/crenshaw2-1.subx and apps/crenshaw2-1b.subx. We're pretty much always using the full filename (excluding .subx extension) anyway.
* 4772Kartik Agaram2018-11-241-1/+2
|
* 4757Kartik Agaram2018-11-201-0/+3
| | | | | | Let's start highlighting all global variables in Red. Assembly programming has a tendency to over-use them. They're a necessary evil, but we should minimize the number of functions that access them.
* 4751Kartik Agaram2018-11-181-0/+6
|
* 4726Kartik Agaram2018-10-271-0/+3
|
* 4725 - back to porting the Crenshaw compilerKartik Agaram2018-10-261-0/+9
|
* 4673Kartik Agaram2018-10-071-2/+2
| | | | | To search for instructions in .subx files, just run `:G 8b.*copy` inside Vim without any quotes.
* 4672Kartik Agaram2018-10-071-0/+8
|
* 4570Kartik Agaram2018-09-211-4/+16
|
* 4568Kartik Agaram2018-09-211-1/+5
| | | | Get the 'edit' script working again with the 'EE' command in Vim.
* 4474Kartik Agaram2018-08-041-8/+1
|
* 4323Kartik Agaram2018-07-071-0/+13
|
* 4299Kartik Agaram2018-06-301-2/+1
|
* 4262 - literal 'null'Kartik Agaram2018-06-171-1/+2
|
* 4261 - start using literals for 'true' and 'false'Kartik Agaram2018-06-171-0/+1
| | | | | | | | | They uncovered one bug: in edit/003-shortcuts.mu <scroll-down> was returning 0 for an address in one place where I thought it was returning 0 for a boolean. Now we've eliminated this bad interaction between tangling and punning literals.
* 3976Kartik K. Agaram2017-08-201-1/+0
|
* 3707Kartik K. Agaram2016-12-121-1/+3
| | | | | | | | | | | | | | | | | | Be more disciplined about tagging 2 different concepts in the codebase: a) Use the phrase "later layers" to highlight places where a layer doesn't have the simplest possible self-contained implementation. b) Use the word "hook" to point out functions that exist purely to provide waypoints for extension by future layers. Since both these only make sense in the pre-tangled representation of the codebase, using '//:' and '#:' comments to get them stripped out of tangled output. (Though '#:' comments still make it to tangled output at the moment. Let's see if we use it enough to be worth supporting. Scenarios are pretty unreadable in tangled output anyway.)
* 3566Kartik K. Agaram2016-10-231-3/+4
| | | | | | | | | | | | vim: Stop loading C++-specific syntax highlighting in non-C++ files. I also figured out why the autocommand wasn't running on the first file: my local setup for directory-specific vimrc files runs inside an autocommand, and it runs autocommands recursively inside an autocommand, and it runs only autocommands inside a 'LocalVimrc' autocommand group to ensure infinite regress (autocommands running multiple times in practice). And I'd forgotten this 'feature' of my vimrc setup by the time I set this up for Mu.
* 3561Kartik K. Agaram2016-10-221-2/+2
|
* 3431Kartik K. Agaram2016-09-301-0/+12
| | | | | Improvements to syntax highlighting, particularly for Mu code in C++ files.
* 1555 - mu.vim: distinguish control-flow from constantsKartik K. Agaram2015-06-121-2/+1
| | | | We also do this in regular C++ now.
* 1297Kartik K. Agaram2015-05-071-5/+8
|
* 1276 - make C++ version the defaultKartik K. Agaram2015-05-051-6/+34
| | | | I've tried to update the Readme, but there are at least a couple of issues.
* 1150Kartik K. Agaram2015-04-231-1/+0
|
* 1093 - little more vim support for the old arc versionKartik K. Agaram2015-04-171-0/+8
|
* 744 - test cursor movement in trace browserKartik K. Agaram2015-02-111-0/+1
Don't prevent run-code from clobbering existing functions, but warn because it makes traces easier to read if the different sections of a test can be distinguished.
f5f846a882fbbe9127e4604bb8bb'>a2726b6a ^
150015fa ^
a2726b6a ^
77e819e8 ^
a2726b6a ^




77e819e8 ^
a2726b6a ^




60215cdf ^
771d90c7 ^
a2726b6a ^





60215cdf ^
db4bcd3e ^
a2726b6a ^

db4bcd3e ^
be90e44d ^




a2726b6a ^

9d94ac5c ^

a2726b6a ^

9d94ac5c ^








86acd464 ^
e7be3a60 ^
b16bdca7 ^
a2726b6a ^





0920b65d ^
6dd11f0f ^
a2726b6a ^

9d94ac5c ^
a2726b6a ^







8ef35290 ^
a2726b6a ^



cf83976b ^
ef96bea8 ^
cf83976b ^
2e85f18c ^
cf83976b ^
a2726b6a ^
9d94ac5c ^
a2726b6a ^

7b49fbdf ^


a2726b6a ^
9d94ac5c ^

9d94ac5c ^
31c0f2ba ^
9d94ac5c ^

6a8656a0 ^
9d94ac5c ^
4cb1d73a ^
9d94ac5c ^
fc6f2755 ^
9d94ac5c ^





3983ee1d ^
9d94ac5c ^






48f9f3b3 ^
2762f18a ^
9d94ac5c ^
9bc4dc38 ^
9d94ac5c ^


9d94ac5c ^
26a18294 ^
9d94ac5c ^
720dce86 ^
d3cc5bd7 ^
ddf6ada3 ^
4bc82a53 ^
039bf5d0 ^
7b541d0a ^
3c56b289 ^
44fc3f05 ^
06482fda ^
918d0608 ^
a2726b6a ^

adb470c4 ^
9d94ac5c ^
b28ac093 ^

02f5df5b ^
11d849aa ^




2ea0e1e9 ^


5cdd69f4 ^

a2726b6a ^

5cdd69f4 ^

48ec7b3b ^
9d94ac5c ^
48ec7b3b ^
4dc48b4b ^
a2726b6a ^
028839e3 ^
4dc48b4b ^
5cdd69f4 ^


a2726b6a ^













ce5f07a0 ^
a2726b6a ^


ce5f07a0 ^
a2726b6a ^

bb6540f7 ^
a2726b6a ^

ce5f07a0 ^
a2726b6a ^












da3a6d87 ^
5cdd69f4 ^
be90e44d ^
0007e356 ^
9d94ac5c ^
a2726b6a ^


9d94ac5c ^
a2726b6a ^


107fdd35 ^
134e5d17 ^
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
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420