The configuration I am using in espanso (open-source text-expander) to quickly type/run different commands on macOS.
- Install espanso.
- Place the contents of
config/
andmatch/
folders within your espanso config directory, which can be found withespanso path
(typically:$HOME/Library/Application Support/espanso
). - Start using espanso, e.g. by
- pressing
CMD+SHIFT+SPACE
to display espanso search bar (list of all available commands in the current context). - typing
;esp
and pressing space to expand into"code ~/Library/Application\\ Support/espanso/"
(for viewing/editing your espanso config in VS Code).
- pressing
See espanso.org/docs/ for the official documentation.
Generally, all the *.yml
files attempt to be self-explanatory with a couple of file comments. I decided to expand everything after pressing space; however, you may also consider using word triggers.
List of match/
files:
_obsidian.yml
- Obsidian snippets, e.g. for font coloring_terminal.yml
- snippets that function only within iTerm, default macOS Terminal or VS Code, e.g. for editing/syncing espanso config, or for file/folder searchbase.yml
- default match fileconda.yml
- Conda snippetsdocker.yml
- Docker snippetsgit.yml
- Git snippetskubernetes.yml
- Kubernetes/kubectl snippetslanguages.yml
- language accents (currently French and German)markdown.yml
- Markdown snippetspersonal.yml
- personal snippetspython.yml
- Python snippetssymbols.yml
- special characters, e.g. dash, ellipsis, bullet point, left arrow, ...
Note
Some files may require custom edit (marked with ...
).