-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
A feature I'd love to see in micro is the ability to do "auto-replace" of arbitrary characters or strings. For example, having (c) in a file be replaced with ©, or being able to set an abbreviation that then gets expanded out into a full word. It'd be nice to also be able to do some additional replacements, such as curly quotes, -- to em-dash, etc. Presumably this would be enabled on a per-file-type basis?
I looked into the viability of doing this as a plugin, but I couldn't see a way to make it happen automatically, e.g. by intercepting key strokes.
I also realize that demand for this may not be huge, given that those of us using micro for plain text editing/markdown are probably often using some other kind of processor (e.g. TeX, pandoc, etc.). But I'm at least in the edge case where that's not consistently the case.