LunarWatcher / auto-pairs

Vim plugin, insert or delete brackets, parentheses, and quotes in pairs
MIT License
173 stars 6 forks source link

Rewrite `.themisrc`, and associated function calls in all tests #92

Open LunarWatcher opened 3 weeks ago

LunarWatcher commented 3 weeks ago

.ToMatch() and CheckBuff() are not particularly good or useful functions. They're basically just giant hacks meant to work around my previous skill issues when writing tests (fun fact: using :normal is a pain in the ass to work with).

I recently discovered \<Ignore>, which at least in a new test seems to sort out timing problems. Combining \<Ignore> in tests with sane functions that more expressively chain keystrokes seems like the obvious move. Not sure what can and can't be done here. I clearly need to RTFM on Themis.