Skip to content

Key features

By default EspansoEdit lists match files from the Espanso user folder. There is also an option to select the Espanso config folder, but YML files from any folder can be displayed. Files and folders can be added to the Favorites list. Separate menus are included for most recently used files and folders.

Folder selection

EspansoEdit is the only editor with built-in highlighting for Espanso reserved words, comments and strings. The full vocabulary of over 80 reserved words is supported.

Espanso highlighting

In addition to syntax highlighting, tooltip hints are shown for some of the Espanso reserved words. The hints provide documentation on mouse hover. Hints can be disabled if preferred.

Reserved word tooltip hint

Espanso trigger blocks can be folded to enhance editing.

Folded triggers

Each match file is displayed alongside a treeview of triggers contained in the file. The treeview is clickable for quick navigation. The treeview can be sorted by name or in the sequence of the file. A double-click on a trigger block in the editor window causes selection of the trigger in the treeview.

Treeview of triggers

The matches dialog displays a list of all matches in the active folder or the packages folder. The list includes basic triggers, multi-triggers, Regex triggers and flow-style triggers. Double-clicking any of the matches will open the containing file in the editor with the relevant trigger highlighted.

Matches dialog

The editor includes a context menu with options to insert or add the main Espanso match types.

Espanso match menu

There is also a keyboard-friendly popup menu to insert match types which can be invoked with shortcut Ctrl+J:

Espanso match menu

The match builder dialog enables you to build a match using a graphical interface with over 30 configurable “building blocks” (Espanso code constructs). It includes a preview of the match that updates as you build with full syntax highlighting. The match can then be copied to the clipboard for use in a match file. The match builder dialog works alongside the main editor window so that you can move back and forth between the two in a seamless manner.

Match builder

The List tab allows for creation of a list of Espanso matches in the active folder. There are several enhancements to the list that can be created using the built-in Espanso command espanso match list.

Match list

The sort function generates a sorted copy of matches from the current file.The indent function enables quick switch to either standard or minimum indentation of the current file. The reorder function enables any order to be applied to the top-level keys for all matches in the current file. Additional functions enable you to add word triggers and/or case propagation to all matches in the current file.

YAML button

There is an inline dialog to find any file in the active folder that contains a given text (e.g., an Espanso trigger).

Find in files

The packages menu lists installed packages and component YML files, which can be opened directly in the editor.

Browse and edit packages

The menu includes an option to display a list of all matches in packages. Double-clicking any of the matches will open the containing file in the editor with the relevant trigger highlighted.

Browse and edit matches in packages

A list of all matches by package can also be generated.

The Cookbook includes a wide range of examples of Espanso matches, all of which can be copied or adapted.

Cookbook of Espanso matches

The Imports menu provides quick access to external match files which have been included as imports from one more files in the active folder.

Imports menu

There is a dialog with a date and time string builder:

Date and time string builder

There is a dialog for conversion to and from Hex and Unicode character codes.

The following Espanso commands can be run from the Tools menu:

  • Espanso match list
  • Espanso packages list
  • Espanso path list

The output from the commands is sent to a new editor tab. The Espanso log can also be viewed in an editor tab - the cursor will be placed on the latest line.

The Convert menu includes options for conversion from 7 other popular text expander apps. For each app except AutoHotKey, an export file is required. The format of the file varies between programs.

Convert menu

The convert function acts on an export file to generate an Espanso match file. For each match, there will be a trigger and replacement text. A label will also be created if found in the exported file.

The current file can be converted to CSV.

For those who like to crunch the numbers there is a dialog with summary stats.

Stats dialog

Stats can be generated for:

  • Active folder
  • Active folder plus subfolders
  • Imported files
  • Packages folder