diff options
author | oreodave <aryadevchavali1@gmail.com> | 2019-11-04 00:23:16 +0000 |
---|---|---|
committer | oreodave <aryadevchavali1@gmail.com> | 2019-11-04 00:23:44 +0000 |
commit | 0a27d0ebdc8ebc496c4dc92de3466db3aafcf87f (patch) | |
tree | 2842d1abc9200beacb7711c697b52c60993a375a /doom.d | |
parent | 9707ab1cb5ceb8caac629f9d47ff95f9ddef71a7 (diff) | |
download | dotfiles-0a27d0ebdc8ebc496c4dc92de3466db3aafcf87f.tar.gz dotfiles-0a27d0ebdc8ebc496c4dc92de3466db3aafcf87f.tar.bz2 dotfiles-0a27d0ebdc8ebc496c4dc92de3466db3aafcf87f.zip |
+abbrev table for greek letters
Diffstat (limited to 'doom.d')
-rw-r--r-- | doom.d/config.org | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doom.d/config.org b/doom.d/config.org index 78c41b5..df5c733 100644 --- a/doom.d/config.org +++ b/doom.d/config.org @@ -265,6 +265,20 @@ My docsets are stored in .docsets for ease of use (after! org (add-hook 'org-mode-hook #'visual-line-mode) (remove-hook 'org-mode-hook #'auto-fill-mode) + (define-abbrev-table 'org-mode-abbrev-table + (mapcar + (lambda (char-string) + (let ((character-property-elements + (split-string (get-char-code-property (encode-char (string-to-char char-string) 'unicode) 'name) " "))) + (list + (concat + (if (member "CAPITAL" character-property-elements) + (capitalize (-last-item character-property-elements)) + (downcase (-last-item character-property-elements))) + "x") + char-string))) + '("α" "β" "γ" "δ" "ε" "ζ" "η" "θ" "ι" "κ" "λ" "μ" "ν" "ξ" "ο" "π" "ρ" "σ" "τ" "υ" "φ" "χ" "ψ" "ω" + "Α" "Β" "Γ" "Δ" "Ε" "Ζ" "Η" "Θ" "Ι" "Κ" "Λ" "Μ" "Ν" "Ξ" "Ο" "Π" "Ρ" "Σ" "Τ" "Υ" "Φ" "Χ" "Ψ" "Ω"))) (map! ; Org keybinds :map org-mode-map :localleader |