On Wed, Sep 22, 2021, at 9:14 PM, revcomni...@gmail.com wrote: > Is there a way to implement autoexpand and autocorrect in sam in any > way, i.e. for common spelling mistakes and commonly used phrases?
I once wrote a script with several regexp substitutions, but gave up when I realised I'd need to implement an entire dictionary. I often typed 'ign' for 'ing', but words legitimately ending in 'ign' are surprisingly common. I tried to make the regexp smarter, but ended up using it on individual words, double-clicking each incorrect word and running |ac . This was quick enough in Acme, perhaps not bad in Sam. I'd attach the script, but it's long since lost now. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T0e2541a723ce90e5-Mdd6a9a834feaa1e84d555c90 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription