Skip to content

Commit

Permalink
feat: add lean
Browse files Browse the repository at this point in the history
  • Loading branch information
gebner committed Oct 12, 2022
1 parent 21dff74 commit e919edd
Show file tree
Hide file tree
Showing 3 changed files with 3,583 additions and 0 deletions.
26 changes: 26 additions & 0 deletions packages/lean/0.1.0/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Lean abbreviations

This package contains all input abbreviations
used by the [Lean theorem prover](https://leanprover.github.io).
They are the same abbreviations used by the editor plugins
for VS Code, neovim, and (with some differences) Emacs.

For example, you can type `L\exists \all N` to get `L∃∀N`.

Please note that the behavior of the espanso expansions
is slightly different from how the editor plugins work:
you need to write the abbreviation name in full,
and you need to type a space after every abbreviation.

If you want to use a leader character other than `\`
(e.g., `,all ` instead of `\all `),
please check out and adapt the
[Python script](https://github.com/gebner/espanso-lean)
that generates this package.

## Installation

Install [espanso](https://espanso.org/install/), then run:
```
espanso install lean
```
6 changes: 6 additions & 0 deletions packages/lean/0.1.0/_manifest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
name: "lean"
title: "Lean input abbreviations"
description: Input abbreviations for unicode symbols for the Lean theorem prover
version: 0.1.0
author: Gabriel Ebner
tags: ["latex"]
Loading

0 comments on commit e919edd

Please sign in to comment.