Anybody using Espanso with Logseq? If so, how do deal with "replace" strings that contain [, (, etc -> which auto-complete the closing corespondent?

Yes, quite nice but maybe not too easy to move out of Logseq if needed (ex: move them to Espanso if I realize that I can do it better with Espanso or that Espanso has more features like adding dates, running scripts to calculate stuff or even go online to fetch some stuff, etc).

In Logseq you search for the:

:commands
[

]

section and you cram in there whatever text (@block-level) expanding you need. I have it setup for many many situations like names ("ex: “I met <djohn today” → “I met [John]([[John Doe]] ‘fellow gym-goer at XYZ Gym in Vancouver’)”), etc.

For example, you could have an Inbox-type of note called “quote”, which would create a Logseq Block that looks like this:

image

, using this definition:

["quote" [[:editor/input "✒️^^Quote^^:  \nsource::    \nmainTag::  \ntangentTags:: \ncontext:: \n> \n> #quote " {:last-pattern "<" :backward-pos 10}]]]

I am not using anything else out of it besides the “backward-pos”, so maybe there are more to it that make it more valuable than using an external text expander.However, I am very interested in doing the same thing with Espanso and will definitely try the Clipboard Backend.

1 Like