Updated keybindings, file headers and updated README

This commit is contained in:
Lucien Cartier-Tilet 2020-05-29 17:53:01 +02:00
parent 955843d903
commit b00e7f839a
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
3 changed files with 61 additions and 66 deletions

View File

@ -13,13 +13,13 @@
- [[#key-bindings][Key bindings]] - [[#key-bindings][Key bindings]]
* Description * Description
This layer adds support for conlanging. This layer adds features for conlanging.
** Features ** Features
- Generate graphviz trees based on Elisp trees - Generate graphviz trees based on Elisp trees
- Replace some text by its runic equivalent (supports the Mattér and - Replace some text by its runic equivalent (supports the Mattér and
Eittlandic languages) Eittlandic languages)
- Adds phonetics to Ňyqy text - Adds phonetics to Proto-Ñyqy text
- Provides custom shortcuts - Provides custom shortcuts
** Graphviz trees ** Graphviz trees
@ -65,9 +65,9 @@
[[file:img/vowels-example.png]] [[file:img/vowels-example.png]]
This example tree is only a binary tree, but a single node can have up to ten This example tree is only a binary tree, but a single node can have up to ten
children. See some examples in the [[https://labs.phundrak.fr/phundrak/langue-phundrak-fr/blob/master/nyqy.org][Ňyqy source file]]. children. See some examples in the [[https://labs.phundrak.com/phundrak/langue-phundrak-fr/blob/master/proto-nyqy.org][Ñyqy source file]].
It is planned to merge [[https://labs.phundrak.fr/phundrak/distinctive-features-chooser][this project]] into this layer in order to facilitate It is planned to merge [[https://labs.phundrak.com/phundrak/distinctive-features-chooser][this project]] into this layer in order to facilitate
the creation of trees based on distinctive features. the creation of trees based on distinctive features.
* Install * Install
@ -85,16 +85,17 @@
* Key bindings * Key bindings
| Key Binding | Description | | Key Binding | Description |
|---------------+-------------------------------------------------------------------------| |---------------+-----------------------------------------------------------------------|
| ~SPC l e l~ | (org-mode only) Translate Einnlandish transliteration into native latin | | ~SPC m l e l~ | (org-mode only) Translate Eittlandic transliteration into LaTeX runes |
| ~SPC l e r~ | (org-mode only) Translate Einnlandish transliteration into runes | | ~SPC m l e r~ | (org-mode only) Translate Eittlandic transliteration into runes |
| ~SPC l m L~ | (org-mode only) Translate Mattér transliteration into LaTeX runes | | ~SPC m l m L~ | (org-mode only) Translate Mattér transliteration into LaTeX runes |
| ~SPC l m l~ | (org-mode only) Translate Mattér transliteration into native latin | | ~SPC m l m l~ | (org-mode only) Translate Mattér transliteration into native latin |
| ~SPC l m r~ | (org-mode only) Translate Mattér transliteration into runes | | ~SPC m l m r~ | (org-mode only) Translate Mattér transliteration into runes |
| ~SPC o l e o~ | Open Eittlandic file | | ~SPC o l e o~ | Open Eittlandic file |
| ~SPC o l h o~ | Open Hjelp file | | ~SPC o l h o~ | Open Hjelp file |
| ~SPC o l m o~ | Open Mattér file | | ~SPC o l m o~ | Open Mattér file |
| ~SPC o l n o~ | Open Ňyqy file | | ~SPC o l n o~ | Open Proto-Ñyqy file |
| ~SPC o l o~ | Open the conlanging directory | | ~SPC o l o~ | Open the working conlanging directory |
| ~SPC o l t o~ | Open Tãso file | | ~SPC o l O~ | Open the root conlanging directory |
| ~SPC o l t o~ | Open Proto-Tãso file |

View File

@ -1,9 +1,9 @@
;;; funcs.el --- Conlanging Layer functions File for Spacemacs ;;; funcs.el --- Conlanging Layer functions File for Spacemacs
;; ;;
;; Copyright (c) 2019-2020 Lucien Cartier-Tilet ;; Copyright (c) 2018-2020 Lucien Cartier-Tilet
;; ;;
;; Author: Lucien Cartier-Tilet <phundrak@phundrak.fr> ;; Author: Lucien Cartier-Tilet <lucien@phundrak.com>
;; URL: https://github.com/syl20bnr/spacemacs ;; URL: https://labs.phundrak.com/phundrak/conlang-layer
;; ;;
;; This file is not part of GNU Emacs. ;; This file is not part of GNU Emacs.
;; ;;

View File

@ -1,9 +1,9 @@
;;; packages.el --- conlanging layer packages file for Spacemacs. ;;; keybindings.el --- conlanging layer packages file for Spacemacs.
;; ;;
;; Copyright (c) 2012-2018 Sylvain Benner & Contributors ;; Copyright (c) 2018-2020 Lucien Cartier-Tilet
;; ;;
;; Author: Lucien Cartier-Tilet <phundrak@phundrak.fr> ;; Author: Lucien Cartier-Tilet <lucien@phundrak.com>
;; URL: https://github.com/syl20bnr/spacemacs ;; URL: https://labs.phundrak.com/phundrak/conlang-layer
;; ;;
;; This file is not part of GNU Emacs. ;; This file is not part of GNU Emacs.
;; ;;
@ -14,15 +14,15 @@
(spacemacs/declare-prefix "olho" "hjelp.org") (spacemacs/declare-prefix "olho" "hjelp.org")
(spacemacs/declare-prefix "olm" "Mattér") (spacemacs/declare-prefix "olm" "Mattér")
(spacemacs/declare-prefix "olmo" "matter.org") (spacemacs/declare-prefix "olmo" "matter.org")
(spacemacs/declare-prefix "ole" "Einnlanda") (spacemacs/declare-prefix "ole" "Eittlandic")
(spacemacs/declare-prefix "oleo" "eittlanda.org") (spacemacs/declare-prefix "oleo" "eittland.org")
(spacemacs/declare-prefix "oln" "Ñyqy") (spacemacs/declare-prefix "oln" "Proto-Ñyqy")
(spacemacs/declare-prefix "olno" "nyqy.org") (spacemacs/declare-prefix "olno" "proto-nyqy.org")
(spacemacs/declare-prefix "olne" "nyqy.org (English)") (spacemacs/declare-prefix "olne" "nyqy.org (English)")
(spacemacs/declare-prefix "olo" "Conlang root directory") (spacemacs/declare-prefix "olo" "Conlang root directory")
(spacemacs/declare-prefix "olo" "Conlang directory") (spacemacs/declare-prefix "olo" "Conlang directory")
(spacemacs/declare-prefix "olt" "Tãso") (spacemacs/declare-prefix "olt" "Proto-Tãso")
(spacemacs/declare-prefix "olto" "taso.org") (spacemacs/declare-prefix "olto" "proto-taso.org")
(spacemacs/declare-prefix-for-mode 'org-mode (spacemacs/declare-prefix-for-mode 'org-mode
"ml" "conlanging") "ml" "conlanging")
(spacemacs/declare-prefix-for-mode 'org-mode (spacemacs/declare-prefix-for-mode 'org-mode
@ -30,43 +30,37 @@
(spacemacs/declare-prefix-for-mode 'org-mode (spacemacs/declare-prefix-for-mode 'org-mode
"mlm" "Mattér") "mlm" "Mattér")
(spacemacs/set-leader-keys "oleo" (spacemacs/set-leader-keys
(lambda () "oleo" (lambda ()
(interactive) (interactive)
(find-file "~/Documents/conlanging/content/eittland.org")) (find-file "~/Documents/conlanging/content/eittland.org"))
"olho" "olho" (lambda ()
(lambda () (interactive)
(interactive) (find-file "~/Documents/conlanging/content/hjelp.org"))
(find-file "~/Documents/conlanging/content/hjelp.org")) "olmo" (lambda ()
"olmo" (interactive)
(lambda () (find-file "~/Documents/conlanging/content/matter.org"))
(interactive) "olno" (lambda ()
(find-file "~/Documents/conlanging/content/matter.org")) (interactive)
"olno" (find-file "~/Documents/conlanging/content/proto-nyqy.org"))
(lambda () "olne" (lambda ()
(interactive) (interactive)
(find-file "~/Documents/conlanging/content/nyqy.org")) (find-file "~/Documents/conlanging/content/en/nyqy.org"))
"olne" "olO" (lambda ()
(lambda () (interactive)
(interactive) (dired "~/Documents/conlanging/"))
(find-file "~/Documents/conlanging/content/en/nyqy.org")) "olo" (lambda ()
"olO" (interactive)
(lambda () (dired "~/Documents/conlanging/content"))
(interactive) "olto" (lambda ()
(dired "~/Documents/conlanging/")) (interactive)
"olo" (find-file "~/Documents/conlanging/content/proto-taso.org")))
(lambda ()
(interactive)
(dired "~/Documents/conlanging/content"))
"olto"
(lambda ()
(interactive)
(find-file "~/Documents/conlanging/content/taso.org")))
(spacemacs/set-leader-keys-for-major-mode (spacemacs/set-leader-keys-for-major-mode 'org-mode
'org-mode "ler" 'conlanging/eittlanda-to-runes "ler" 'conlanging/eittlanda-to-runes
"lel" 'conlanging/eittlanda-to-latex "lmr" "lel" 'conlanging/eittlanda-to-latex
'conlanging/matter-to-runes "lml" 'conlanging/matter-to-native-latin "lmr" 'conlanging/matter-to-runes
"lml" 'conlanging/matter-to-native-latin
"lmL" 'conlanging/matter-to-latex) "lmL" 'conlanging/matter-to-latex)
;;; keybindings.el ends here ;;; keybindings.el ends here