Merge branch 'readme'
This commit is contained in:
commit
077bf76887
68
README.md
68
README.md
|
@ -1 +1,67 @@
|
|||
# Espanso
|
||||
![espanso](images/titlebar.png)
|
||||
|
||||
> A cross-platform Text Expander written in Rust
|
||||
|
||||
![Language](https://img.shields.io/badge/language-rust-orange)
|
||||
![Platforms](https://img.shields.io/badge/platforms-Windows%2C%20macOS%20and%20Linux-blue)
|
||||
![License](https://img.shields.io/github/license/federico-terzi/espanso)
|
||||
|
||||
![example](images/example.gif)
|
||||
|
||||
#### 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 :)
|
||||
|
||||
[![Donate with PayPal](images/donate.gif)](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
|
||||
# You can refer to the official documentation:
|
||||
# https://github.com/federico-terzi/espanso
|
||||
|
||||
# Matches are the substitution rules, when you type the "trigger" string
|
||||
# it gets replaced by the "replace" string.
|
||||
matches:
|
||||
# Default
|
||||
# Simple text replacement
|
||||
- trigger: ":espanso"
|
||||
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
|
||||
- trigger: ":lol"
|
||||
replace: "😂"
|
||||
|
@ -21,29 +40,21 @@ matches:
|
|||
replace: "☹☹☹☹"
|
||||
|
||||
# Accented letters
|
||||
- trigger: "e'"
|
||||
- trigger: "e''"
|
||||
replace: "è"
|
||||
- trigger: "e//"
|
||||
replace: "é"
|
||||
- trigger: "a'"
|
||||
- trigger: "a''"
|
||||
replace: "à"
|
||||
- trigger: "i'"
|
||||
- trigger: "i''"
|
||||
replace: "ì"
|
||||
- trigger: "o'"
|
||||
- trigger: "o''"
|
||||
replace: "ò"
|
||||
- trigger: "u'"
|
||||
- trigger: "u''"
|
||||
replace: "ù"
|
||||
|
||||
# Capital accented letters
|
||||
- trigger: "E'"
|
||||
- trigger: "E''"
|
||||
replace: "È"
|
||||
- trigger: "E/"
|
||||
replace: "É"
|
||||
- trigger: "A'"
|
||||
replace: "À"
|
||||
- trigger: "I'"
|
||||
replace: "Ì"
|
||||
- trigger: "O'"
|
||||
replace: "Ò"
|
||||
- trigger: "U'"
|
||||
replace: "Ù"
|
||||
- trigger: "E//"
|
||||
replace: "É"
|
Loading…
Reference in New Issue
Block a user