https://github.com/j6k4m8/textexpander
My shortcuts for text-expansion software
https://github.com/j6k4m8/textexpander
arrows espanso latex math pinyin shortcut shortcuts textexpander textexpander-snippets
Last synced: 3 months ago
JSON representation
My shortcuts for text-expansion software
- Host: GitHub
- URL: https://github.com/j6k4m8/textexpander
- Owner: j6k4m8
- Created: 2016-12-02T13:29:01.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-03-18T23:28:54.000Z (over 5 years ago)
- Last Synced: 2025-02-28T16:04:28.529Z (8 months ago)
- Topics: arrows, espanso, latex, math, pinyin, shortcut, shortcuts, textexpander, textexpander-snippets
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Text expansions
> Note that I recently switched from TextExpander, which has a $36 annual subscription cost, to [espanso](https://espanso.org/), which is free, and, at least in my experience, MUCH faster.
>
> All of the shortcuts below still work, and I have archived the orginal TextExpander backup files in this repo. But the new espanso YAML is available at `default.yml`.
>
> I have also published a converter to enable you to quickly go from TextExpander to espanso, as I did :)---
## Clipboard Commands
> Note: These are not yet ported to espanso.
With text selected, use the following commands to replace the text with a modified version:
| Command | Shortcut | Example Before | Example After | Description |
|---------|----------|---------|----------|-----|
| Upper-Case | `\\ku` | `Lorem ipsum` | `LOREM IPSUM` | idk I do this a lot |
| Hyphenate | `\\hyph` | `Lorem ipsum okay?` | `Lorem-ipsum-okay?` | Great for when you're having a I-need-to-hyphenate-everything sort of day |
| Generate LaTeX | `\\latex` | `x^2` | `http://chart.apis.google.com/chart?cht=tx&chl=x%5E2` (Which is an image that renders as  ) | Great for posting formulas in non-LaTeX-friendly systems (like Slack) |
| Italicize (unicode) | `\\textit` | `Are you kidding me?` | `π¨ππ πππ πππ π πππ ππ?` | Uses unicode, so may display wonky in some systems |
| Remove line-feeds | `\\non` | `Hello\nworld!` | `Hello world!` | Good for sanitizing your clipboard before pasting into a terminal |## Arrows
| Symbol | Shortcut |
|--------|----------|
| β | `\rarrow` |
| β | `\larrow` |
| β | `\uarrow` |
| β | `\darrow` |
| β· | `\lrarrow` |## Spaces and Dashes
| Symbol | Shortcut |
|--------|----------|
| β | `\--` |
| β | `\mdash` |
| β | `\emdash` |
| β | `\ndash` |
| β | `\endash` |
| [Non-breaking Space] | `\nbsp` |
| [Zero-width Space] | `\zwsp` |
| β’ | `\bul` |
| β | `\check` |
| [Tab] | `\tabsp` |## Math
| Symbol | Shortcut |
|--------|----------|
| Γ | `\times` |
| β | `\subset` |
| ΞΌ | `\mu` |
| Β± | `\pm` |
| β« | `\int` |
| β | `\inf` |
| β | `\sum` |
| Ο΄ | `\Theta` |
| β | `\setin` |
| β | `\Delta` |
| ΒΊ | `\deg` |
| β© | `\cap` |
| βͺ | `\cup` |
| β€ | `\leq` |
| β₯ | `\geq` |
| Ξ² | `\beta` |
| β | `\approx` |
| Ξ | `E-\|` |
| β | `\forall` |## Numerals
| Symbol | Shortcut |
|--------|----------|
| β | `\(1)` |
| β‘ | `\(2)` |
| β’ | `\(3)` |
| β£ | `\(4)` |## Pinyin
**Mnemonic:** All pinyin vowels (including ΓΌ) are supported. Type the vowel, and then type the vertical bar (|) and while holding shift, press the tone (1,2,3,4). In other words, to type `ΓΊ`, type u and then |@ (because `@` is Shift+2, for 2nd-tone). To type `ΓΌ` vowels, use `u:` in place of the vowel. For example, `Η` is `u|:@`.
| Symbol | Shortcut |
|--------|----------|
| Δ | `a\|!` |
| Γ‘ | `a\|@` |
| Η | `a\|#` |
| Γ | `a\|$` |
| etc. |