Elektrine lite

← Feed

@ole@chaos.social

Post #2419290

2026-04-20 11:17 UTC

I just found out that the Text Replacements feature in macOS is somewhat case-sensitive in an interesting way. Example: • In System Settings > Keyboard > Text Replacements, add an entry to replace ":sigma" with "σ". • This works as expected when you type ":sigma". *But also*, when you type ":Sigma" with a capital S, it gets replaced with "Σ", i.e. the corresponding capital letter. (Observed on macOS 26.4.1)

Replies (4)

  • @fmarini@mastodon.social 2026-04-20 12:49

    @ole@chaos.social nice find. It could definitely come in handy! 👍🏻

    Open ##2753892

  • @ole@chaos.social :0

    Open ##2753896

  • @leeloo@c.im 2026-04-20 14:06

    @ole@chaos.social That is what I would expect. I'm pretty sure that's how Microsoft Word 6.0 on Windows 3.11 behaved back in the 1990'es, and I would be very surprised if it had taken Apple this long to figure it out. In fact, it makes too much sense to be a Microsoft invention, I would have guessed that they copied it from Apple, not Apple copying it from Microsoft. I mean that's how it usually works, isn't it? Microsoft copies the good ideas from Apple (often badly) and later Apple copies the bad ideas from Microsoft.

    Open ##2753897

  • @ole@chaos.social YES: I have multiple replacements for common abbreviations (btw, iirc, etc…), and if I type the abbreviation in upper case, the expanded version is also uppercased. But it gets better: if you only capitalise the first letter, the expansion is also properly capitalised: - btw → by the way - BTW → BY THE WAY - Btw → By the way

    Open ##2753898