10 ms·
Surely it would be better to use a purpose-built "long space" character, as would be done in typesetting. Em Space U+2003 might be a good candidate.
by alwaysbeconsing 3y ago
Surely it would be better to use a purpose-built "long space" character, as would be done in typesetting. Em Space U+2003 might be a good candidate.
- accoil 3y agoWould need to be easy to type (e.g by pressing space twice).
- alwaysbeconsing 3y agoI was thinking could use abbrevs but it must expand word chars, not spaces.
- dpifke 3y agoYou could bind it to a Compose key sequence, e.g. "Compose+Space Space". (Analogous to em-dash, which is "Compose-Hyphen Hyphen".) But it's still an extra keystroke. And I worry that I'd cause problems editing non-UTF-8 documents if I retrained my fingers to use it at the end of every sentence and then didn't remember to switch back to the ASCII way of doing things.
- accoil 3y agoHuh, didn't know abbrev had that limitation (wonder why?). Gave it a go in espanso (https://espanso.org/ https://espanso.org/), and it does work there. Edit: it would need context awareness too, which somewhat rules out espanso, otherwise space indentation will be difficult. abbrevs at least can be defined per mode, but ideally it would be based off the face (so it could work in comments or strings).