This repository has been archived on 2020-12-27. You can view files and clone it, but cannot push or open issues or pull requests.
conlang-layer/keybindings.el

53 lines
2.1 KiB
EmacsLisp
Raw Normal View History

2019-07-21 15:24:46 +00:00
;;; packages.el --- conlanging layer packages file for Spacemacs.
;;
;; Copyright (c) 2012-2018 Sylvain Benner & Contributors
;;
;; Author: Lucien Cartier-Tilet <phundrak@phundrak.fr>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
(spacemacs/declare-prefix "ol" "conlanging")
(spacemacs/declare-prefix "olh" "Hjelp")
(spacemacs/declare-prefix "olho" "hjelp.org")
(spacemacs/declare-prefix "olm" "Mattér")
(spacemacs/declare-prefix "olmo" "matter.org")
(spacemacs/declare-prefix "ole" "Einnlanda")
(spacemacs/declare-prefix "oleo" "eittlanda.org")
2019-07-21 15:24:46 +00:00
(spacemacs/declare-prefix "oln" "Ňyqy")
(spacemacs/declare-prefix "olno" "nyqy.org")
2019-08-19 14:17:04 +00:00
(spacemacs/declare-prefix "olnO" "nyqy2.org")
(spacemacs/declare-prefix "olo" "Conlang directory")
2019-07-21 15:24:46 +00:00
(spacemacs/declare-prefix "olt" "Tãso")
(spacemacs/declare-prefix "olto" "taso.org")
(spacemacs/declare-prefix-for-mode 'org-mode "ml" "conlanging")
(spacemacs/declare-prefix-for-mode 'org-mode "mle" "Eittlanda")
2019-07-21 15:24:46 +00:00
(spacemacs/declare-prefix-for-mode 'org-mode "mlm" "Mattér")
(spacemacs/set-leader-keys
"oleo" (lambda () (interactive)
(find-file "~/Documents/code/web/langue-phundrak-fr/eittlanda.org"))
2019-07-21 15:24:46 +00:00
"olho" (lambda () (interactive)
(find-file "~/Documents/code/web/langue-phundrak-fr/hjelp.org"))
"olmo" (lambda () (interactive)
(find-file "~/Documents/code/web/langue-phundrak-fr/matter.org"))
"olno" (lambda () (interactive)
(find-file "~/Documents/code/web/langue-phundrak-fr/nyqy.org"))
2019-08-19 14:17:04 +00:00
"olnO" (lambda () (interactive)
2019-09-13 16:52:56 +00:00
(find-file "~/Documents/code/web/langue-phundrak-fr/nyqy-old.org"))
"olo" (lambda () (interactive)
(dired "~/Documents/code/web/langue-phundrak-fr"))
2019-07-21 15:24:46 +00:00
"olto" (lambda () (interactive)
(find-file "~/Documents/code/web/langue-phundrak-fr/taso.org")))
(spacemacs/set-leader-keys-for-major-mode 'org-mode
"lmr" 'conlanging/matter-to-runes
"lml" 'conlanging/matter-to-native-latin
"lmL" 'conlanging/matter-to-latex
"ler" 'conlanging/eittlanda-to-runes
"lel" 'conlanging/eittlanda-to-latex)
2019-07-21 15:24:46 +00:00
;;; keybindings.el ends here