Espanso is an open source text expander for Windows, Mac and Linux

Snippet instruments are extremely helpful. The thought is to avoid wasting time that may have in any other case been wasted typing phrases, sentences or whole paragraphs.

Espanso default

Espanso is an open source text template program for Windows, Mac and Linux that helps customers save time.

During the set up, you’ve got the selection so as to add Espanso to “PATH” (Windows System Variable) and to allow it to auto-start with Windows. You may also have to restart the pc to get this system working. correctly; I believe it requires the restart to allow the “PATH” appropriately. Start this system and you need to see an icon on the system tray. Right-clicking on it lets you disable it or exit this system.

Espanso icon

Espanso works in all purposes that I attempted it in together with Notepad, Word, Firefox, Thunderbird, and extra.


Espanso makes use of the idea of Matches (key phrase recognition) i.e., whenever you sort a phrase that is current in this system’s settings, it triggers the appliance to substitute the key phrase with its configured alternative. The official wiki explains the technical particulars reasonably nicely, however I am going to exhibit the way it works under for your comfort.

Fire up a text editor or browser, or every other program that accepts text enter. Type the phrase :espanso and it would magically get replaced with the phrase “Hi there!”. In this case “:espanso” is the key phrase and “Hi There” is the changed text.

espanso demo

If you have not guessed it already, Espanso is the Italian phrase for Expanded.

So, how will we customise Espanso?

Go to the appliance’s “Roaming” folder in your User listing. For e.g. C:UsersAshwinAppDataRoamingespanso

This folder accommodates a “default.yml” file. Open it utilizing a text editor, e.g. Notepad works simply wonderful. Espanso makes use of YAML syntax, which is very user-friendly. Look on the highlighted part within the screenshot under. That’s the match set off and alternative which I discussed in my instance.

espanso highlighted


The indentation is crucial for the syntax to work. So in case your match is not being triggered appropriately, examine the spacing within the syntax. The different rule is to recollect to make use of the : image. For e.g. :espanso vs espanso. The first one is right, the latter will not set off this system.

How so as to add new phrases to Espanso?

Let’s attempt including a brand new one. Write a brand new set off phrase and select a alternative phrase. To make it straightforward, you possibly can simply copy the “espanso” set off, paste it in a brand new line and edit it.

– set off: “:ghx”
exchange: “gHacks.web”

Save the doc, exit Espanso and begin it once more. Now sort :ghx and it must be changed with gHacks.web. That’s extremely straightforward, is not it? You can use it so as to add electronic mail signatures, URLs, HTML Tags, generally used phrases, responses, and many others, and save a while.

Espanso is an open source text expander for Windows, Mac and Linux

– set off: “:emailid”
exchange: “electronic [email protected]

– set off: “:ggl”
exchange: “”

– set off: “:myadd”
exchange: “Apt 123, fifth Avenue”

– set off: “:tvm”
exchange: “Thank you very a lot”

espanso examples

You may even exchange a text with an picture, the syntax is barely totally different.

– set off: “:phrase”

image_path: “/path/picture.ext”

Replace phrase with the key phrase you need and the /path/picture.ext with the complete path of the picture’s location, adopted by the title of the image and its extension. This is probably not sensible in day-to-day utilization, however the choice is there, in case you need to use it.

All the above examples are static matches, as in, the alternative phrase or phrase by no means modifications.

Will it exchange different phrases which I sort? No, that is why the : image is used, to stop phrases being changed accidentally. You can use matches with out the colon image, however it would exchange phrases which spell equally. Refer to the official documentation about Word Triggers to keep away from this challenge.

Dynamic Matches

These are matches with variables, e.g. to exchange the variable with the date and time.

espanso extensions

Look at YML doc’s “Dates” part; this one has a set off that may add the present date within the format “month/date/12 months (US format). The syntax for it might seem like sophisticated, nearly like a program code. First you set the key phrase as ordinary, you then declare a variable known as “mydate”, which accommodates the sort (extension) and the parameter to calculate it. The documentation I linked to above, explains how you can add a match for the same “Time” match.

Note: I exploit the phrase part simply as a reference to the order of the instructions that the default configuration file lists them in. You can write your matches in any order you need to.


Espanso helps extensions, instructions you can customise. The Date instance which I discussed makes use of the “Date” extension. You can set an extension through the use of the “sort” command adopted by its personal syntax.  The third part within the YML doc lists a Shell Command that you need to use for that function.  The Shell extension permits you to write instructions that may be executed utilizing the Command Prompt, EnergyShell and different shells. The utility’s Script extension is used to execute scripts that you just provide.

The utility is written in Rust (Mozilla’s different to C++).

Espanso is quick, straightforward to make use of if you wish to rapidly insert phrases and phrases. When it involves variables I do not suppose it is user-friendly, BeefText has variables built-in, simply right-click and choose the one you need to use. On the opposite hand, you possibly can create customized variables with the previous.

Check Also

VLC 3.3 for Android introduces a massive list of new features

VideoLAN, the maker of the favored VLC Media Player, has launched VLC 3.3 for Android …

Leave a Reply

Your email address will not be published. Required fields are marked *