Merge branch 'readme'
This commit is contained in:
commit
077bf76887
68
README.md
68
README.md
|
@ -1 +1,67 @@
|
||||||
# Espanso
|

|
||||||
|
|
||||||
|
> A cross-platform Text Expander written in Rust
|
||||||
|
|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
#### What is a Text Expander?
|
||||||
|
|
||||||
|
A *text expander* is a program that detects when you type
|
||||||
|
a specific **keyword** and replaces it with **something else**.
|
||||||
|
This is useful in many ways:
|
||||||
|
* **Save a lot of typing**, expanding common sentences.
|
||||||
|
* Create **system-wide** code snippets.
|
||||||
|
* Execute **custom scripts**
|
||||||
|
* Use **emojis** like a pro.
|
||||||
|
|
||||||
|
___
|
||||||
|
|
||||||
|
## Key Features
|
||||||
|
|
||||||
|
* Works on **Windows**, **macOS** and **Linux**
|
||||||
|
* Works with almost **any program**
|
||||||
|
* Works with **Emojis** 😄
|
||||||
|
* **Date** expansion support
|
||||||
|
* **Custom scripts** support
|
||||||
|
* **Shell commands** support
|
||||||
|
* **App-specific** configurations
|
||||||
|
* File based configuration
|
||||||
|
|
||||||
|
## Table of contents
|
||||||
|
|
||||||
|
- [Installation](#installation)
|
||||||
|
- [Windows](#install-windows)
|
||||||
|
- [Linux](#install-linux)
|
||||||
|
- [macOS](#install-macos)
|
||||||
|
- [FAQ](#faq)
|
||||||
|
- [Donations](#donations)
|
||||||
|
- [License](#license)
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
### <a name="install-windows"></a>Windows
|
||||||
|
|
||||||
|
### <a name="install-linux"></a>Linux
|
||||||
|
|
||||||
|
### <a name="install-macos"></a>MacOS
|
||||||
|
|
||||||
|
## FAQ
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Donations
|
||||||
|
|
||||||
|
espanso is a free, open source software developed in my (little) spare time.
|
||||||
|
If you liked the project and would like to support further development,
|
||||||
|
please consider making a small donation, it really helps :)
|
||||||
|
|
||||||
|
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FHNLR5DRS267E&source=url)
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
espanso was created by [Federico Terzi](http://federicoterzi.com)
|
||||||
|
and is licensed under the [GPL-3.0 license](/LICENSE).
|
BIN
images/donate.gif
Normal file
BIN
images/donate.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
BIN
images/example.gif
Normal file
BIN
images/example.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 139 KiB |
BIN
images/icongreensmall.png
Normal file
BIN
images/icongreensmall.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
BIN
images/titlebar.png
Normal file
BIN
images/titlebar.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.4 KiB |
|
@ -2,14 +2,33 @@
|
||||||
|
|
||||||
# This is the default configuration file, change it as you like it
|
# This is the default configuration file, change it as you like it
|
||||||
# You can refer to the official documentation:
|
# You can refer to the official documentation:
|
||||||
|
# https://github.com/federico-terzi/espanso
|
||||||
|
|
||||||
# Matches are the substitution rules, when you type the "trigger" string
|
# Matches are the substitution rules, when you type the "trigger" string
|
||||||
# it gets replaced by the "replace" string.
|
# it gets replaced by the "replace" string.
|
||||||
matches:
|
matches:
|
||||||
# Default
|
# Simple text replacement
|
||||||
- trigger: ":espanso"
|
- trigger: ":espanso"
|
||||||
replace: "Hi there!"
|
replace: "Hi there!"
|
||||||
|
|
||||||
|
# Dates
|
||||||
|
- trigger: ":date"
|
||||||
|
replace: "{{mydate}}"
|
||||||
|
vars:
|
||||||
|
- name: mydate
|
||||||
|
type: date
|
||||||
|
params:
|
||||||
|
format: "%m/%d/%Y"
|
||||||
|
|
||||||
|
# Shell commands
|
||||||
|
- trigger: ":shell"
|
||||||
|
replace: "{{output}}"
|
||||||
|
vars:
|
||||||
|
- name: output
|
||||||
|
type: shell
|
||||||
|
params:
|
||||||
|
cmd: "echo Hello from you shell"
|
||||||
|
|
||||||
# Emojis
|
# Emojis
|
||||||
- trigger: ":lol"
|
- trigger: ":lol"
|
||||||
replace: "😂"
|
replace: "😂"
|
||||||
|
@ -21,29 +40,21 @@ matches:
|
||||||
replace: "☹☹☹☹"
|
replace: "☹☹☹☹"
|
||||||
|
|
||||||
# Accented letters
|
# Accented letters
|
||||||
- trigger: "e'"
|
- trigger: "e''"
|
||||||
replace: "è"
|
replace: "è"
|
||||||
- trigger: "e//"
|
- trigger: "e//"
|
||||||
replace: "é"
|
replace: "é"
|
||||||
- trigger: "a'"
|
- trigger: "a''"
|
||||||
replace: "à"
|
replace: "à"
|
||||||
- trigger: "i'"
|
- trigger: "i''"
|
||||||
replace: "ì"
|
replace: "ì"
|
||||||
- trigger: "o'"
|
- trigger: "o''"
|
||||||
replace: "ò"
|
replace: "ò"
|
||||||
- trigger: "u'"
|
- trigger: "u''"
|
||||||
replace: "ù"
|
replace: "ù"
|
||||||
|
|
||||||
# Capital accented letters
|
# Capital accented letters
|
||||||
- trigger: "E'"
|
- trigger: "E''"
|
||||||
replace: "È"
|
replace: "È"
|
||||||
- trigger: "E/"
|
- trigger: "E//"
|
||||||
replace: "É"
|
replace: "É"
|
||||||
- trigger: "A'"
|
|
||||||
replace: "À"
|
|
||||||
- trigger: "I'"
|
|
||||||
replace: "Ì"
|
|
||||||
- trigger: "O'"
|
|
||||||
replace: "Ò"
|
|
||||||
- trigger: "U'"
|
|
||||||
replace: "Ù"
|
|
Loading…
Reference in New Issue
Block a user