Skip to main content

Case Propagation

Case propagation lets you type a trigger in different cases and have the expansion match your typing style automatically.

Basic Usage

Enable propagate_case: true on any match:

- trigger: "alh"
replace: "although"
propagate_case: true
word: true

Now typing different cases produces different results:

You TypeYou Get
alhalthough
AlhAlthough
ALHALTHOUGH

Multi-Word Capitalization

By default, only the first word is capitalized. Use uppercase_style: capitalize_words to capitalize every word:

- trigger: ";ols"
replace: "ordinary least squares"
propagate_case: true
uppercase_style: capitalize_words
You TypeYou Get
;olsordinary least squares
;OlsOrdinary Least Squares
;OLSORDINARY LEAST SQUARES

Practical Examples

Acronyms

- trigger: "idk"
replace: "I don't know"
propagate_case: true
word: true
TypeResult
idkI don't know
IdkI don't know
IDKI DON'T KNOW

Proper Names

- trigger: "cli"
replace: "cli-expander"
propagate_case: true
word: true
TypeResult
clicli-expander
CliCli-expander

Important Notes

  • Case propagation only applies to the replace text, not variables
  • Combine with word: true to avoid matching inside other words
  • uppercase_style only matters when propagate_case: true

What's Next