Espanso Quick Reference
Text expansion with 100+ pre-configured snippets using ..trigger syntax.
Controls
| Action |
Shortcut |
| Toggle on/off |
ALT+SHIFT+E |
| Search snippets |
ALT+SPACE |
| Restart |
espanso restart |
| Status |
espanso status |
| View logs |
espanso log |
Snippet Categories
Date & Time
| Trigger |
Output |
Example |
..date |
Current date |
2025-12-15 |
..sds |
Filename-safe date |
20251215 |
..time |
Current time |
14:30:45 |
..ts |
ISO timestamp |
2025-12-15T14:30:45.123Z |
..utc |
UTC datetime |
2025-12-15 14:30:45.123 UTC |
..dt |
Local datetime |
2025-12-15 14:30:45 EST |
..udt |
UTC datetime |
2025-12-15 14:30:45 UTC |
..ztime |
Time with timezone |
14:30:45.123 EST |
..epoch |
Unix timestamp |
1702573845 |
..epochms |
Unix ms timestamp |
1702573845123 |
..month |
Month name |
December |
..day |
Day name |
Saturday |
..week |
Week number |
Week 50 |
..year |
Year |
2025 |
Git Commands
| Trigger |
Output |
..gstat |
git status |
..gco |
git checkout |
..gcm |
git commit -m "" |
..glog |
git log --oneline --graph --decorate --all |
..gpush |
git push origin |
..gpull |
git pull origin |
..gbranch |
git branch -a |
..gdiff |
git diff |
..gadd |
git add . |
..branch |
Current branch name (dynamic) |
Docker Commands
| Trigger |
Output |
..dps |
docker ps |
..dpsa |
docker ps -a |
..dcup |
docker-compose up -d |
..dcdown |
docker-compose down |
..dlog |
docker logs -f |
..dexec |
docker exec -it |
..dim |
docker images |
..dprune |
docker system prune -af |
System Info
| Trigger |
Output |
..ip |
Public IP (via curl) |
..locip |
Local IP |
Code Templates
| Trigger |
Output |
..bash |
Bash script with shebang + set -euo pipefail |
..python |
Python script with main() |
..she! |
#!/usr/bin/env bash |
Markdown
| Trigger |
Output |
..mdcode |
Code block (triple backticks) |
..mdbash |
Bash code block |
..mdpy |
Python code block |
..mdjs |
JavaScript code block |
..mdtable |
Table template |
..mdlink |
Link (prompts for text/url) |
..mdimg |
Image (prompts for alt/url) |
| Trigger |
Output |
..todo |
// TODO: |
..fixme |
// FIXME: |
..note |
// NOTE: |
..hack |
// HACK: |
..debug |
// DEBUG: |
Quick Commands
| Trigger |
Output |
..ll |
ls -lah |
..la |
ls -A |
..grep |
grep -rni "" . |
..find |
find . -name "" |
..port |
lsof -i : |
..kill |
kill -9 |
..proc |
`ps aux |
..disk |
df -h |
..mem |
free -h |
Navigation
| Trigger |
Output |
..~ |
cd ~ |
..tmp |
cd /tmp/ |
..logs |
cd /var/log/ |
URLs
| Trigger |
Output |
..gh |
https://github.com |
..gl |
https://gitlab.com |
..gist |
https://gist.github.com |
..so |
https://stackoverflow.com |
..reddit |
https://reddit.com |
Emoticons & Symbols
| Trigger |
Output |
..shrug |
¯\_(ツ)_/¯ |
..flip |
(╯°□°)╯︵ ┻━┻ |
..unflip |
┬─┬ ノ( ゜-゜ノ) |
..lenny |
( ͡° ͜ʖ ͡°) |
..check |
✓ |
..cross |
✗ |
..arrow |
→ |
..larrow |
← |
Quick Responses
| Trigger |
Output |
..brb |
Be right back |
..omw |
On my way |
..tyvm |
Thank you very much |
..lgtm |
Looks good to me |
..wfm |
Works for me |
..ack |
Acknowledged |
..asap |
As soon as possible |
Lorem Ipsum
| Trigger |
Output |
..lorem |
One paragraph |
..loremlong |
Four paragraphs |
Clipboard
| Trigger |
Output |
..qp |
Paste from primary selection (X11/Wayland) |
Auto-Corrections
These work without the .. prefix:
| Typo |
Correction |
| teh |
the |
| recieve |
receive |
| definately |
definitely |
| seperator |
separator |
| occured |
occurred |
| lenght |
length |
| wierd |
weird |
| thier |
their |
Personal Snippets
Edit ~/.dotfiles/espanso/match/personal.yml:
Run setup-espanso.sh to configure interactively.
Adding Custom Snippets
Edit ~/.dotfiles/espanso/match/base.yml:
Simple Replacement
With Shell Command
With Date Formatting
With Form Input
With Clipboard
After editing: espanso restart
Config Files
Useful Commands
Installing Packages
Browse packages: https://hub.espanso.org/
Troubleshooting
Espanso Not Starting
Snippets Not Expanding
Wrong Keyboard Layout
Edit ~/.config/espanso/config/default.yml:
Check Syntax
Wayland Issues
If using Wayland, you may need the Wayland-specific build:
Tips
- Test snippets - Type them in any text field
- Use search -
ALT+SPACE to search all triggers
- Escape triggers - Type slowly or add a space to prevent expansion
- Backup config - It's in your dotfiles, so it syncs automatically
- Restart after changes -
espanso restart