https://github.com/xyproto/digraph
Lookup ViM-style digraphs
https://github.com/xyproto/digraph
digraphs go grapheme symbols unicode vim
Last synced: 8 months ago
JSON representation
Lookup ViM-style digraphs
- Host: GitHub
- URL: https://github.com/xyproto/digraph
- Owner: xyproto
- License: bsd-3-clause
- Created: 2023-06-29T08:40:36.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-18T09:49:01.000Z (10 months ago)
- Last Synced: 2025-01-11T00:56:10.628Z (9 months ago)
- Topics: digraphs, go, grapheme, symbols, unicode, vim
- Language: Go
- Homepage:
- Size: 48.8 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Digraph
 [](https://goreportcard.com/report/github.com/xyproto/digraph) [](https://raw.githubusercontent.com/xyproto/digraph/main/LICENSE)
Lookup ViM-style digraphs.
### Example use
```go
package mainimport (
"fmt""github.com/xyproto/digraph"
)func main() {
fmt.Printf("The symbol for My is %c\n", digraph.MustLookup("My"))
}
```This outputs:
The symbol for My is µ
[Full list of digraphs](https://github.com/xyproto/digraph/blob/ac809dda476022952cdfc5b12249e8e5fe9f1547/digraphs.txt#L83)
### General info
* License: BSD-3
* Version: 1.3.0
* Author: Alexander F. Rødseth <xyproto@archlinux.org>