/espanso-package-cht

espanso package for getting code snippets from cht.sh

MIT LicenseMIT

espanso-package-cht

An espanso package for getting code snippets from Igor Chubin's console-oriented cheat sheet service cht.sh. Espanso is a free cross-platform text expander written in Rust.

usage

For more information about espanso packages, read the documentation.

Usage

Available replacements:

replacement description
:cht/{query}/ Code only, no comments.
:vcht/{query}/ Verbose. Code and comments.

Uses passive replacement, so it is triggered by highlighting the text and double tapping your configured passive key.

Installation

From espanso hub:

espanso install cht

From source repo:

espanso install cht https://github.com/bradyjoslin/espanso-package-cht --external

Dependencies

Passive replacement should be enabled in the espanso default.yaml configuration file:

enable_passive: true
passive_key: CTRL

Requires curl.

Package Details

Repository: https://github.com/bradyjoslin/espanso-package-cht/