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

67 lines
2.3 KiB
EmacsLisp
Raw Normal View History

;;; keybindings.el --- conlanging layer packages file for Spacemacs.
2019-07-21 15:24:46 +00:00
;;
;; Copyright (c) 2018-2020 Lucien Cartier-Tilet
2019-07-21 15:24:46 +00:00
;;
;; Author: Lucien Cartier-Tilet <lucien@phundrak.com>
;; URL: https://labs.phundrak.com/phundrak/conlang-layer
2019-07-21 15:24:46 +00:00
;;
;; 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" "Eittlandic")
(spacemacs/declare-prefix "oleo" "eittland.org")
(spacemacs/declare-prefix "oln" "Proto-Ñyqy")
(spacemacs/declare-prefix "olno" "proto-nyqy.org")
(spacemacs/declare-prefix "olne" "nyqy.org (English)")
2020-05-19 11:25:05 +00:00
(spacemacs/declare-prefix "olo" "Conlang root directory")
(spacemacs/declare-prefix "olo" "Conlang directory")
(spacemacs/declare-prefix "olt" "Proto-Tãso")
(spacemacs/declare-prefix "olto" "proto-taso.org")
2019-12-13 16:46:30 +00:00
(spacemacs/declare-prefix-for-mode 'org-mode
"ml" "conlanging")
(spacemacs/declare-prefix-for-mode 'org-mode
"mle" "Eittlanda")
(spacemacs/declare-prefix-for-mode 'org-mode
"mlm" "Mattér")
2019-07-21 15:24:46 +00:00
(spacemacs/set-leader-keys
"oleo" (lambda ()
(interactive)
(find-file "~/Documents/conlanging/content/eittland.org"))
"olho" (lambda ()
(interactive)
(find-file "~/Documents/conlanging/content/hjelp.org"))
"olmo" (lambda ()
(interactive)
(find-file "~/Documents/conlanging/content/matter.org"))
"olno" (lambda ()
(interactive)
(find-file "~/Documents/conlanging/content/proto-nyqy.org"))
"olne" (lambda ()
(interactive)
(find-file "~/Documents/conlanging/content/en/nyqy.org"))
"olO" (lambda ()
(interactive)
(dired "~/Documents/conlanging/"))
"olo" (lambda ()
(interactive)
(dired "~/Documents/conlanging/content"))
"olto" (lambda ()
(interactive)
(find-file "~/Documents/conlanging/content/proto-taso.org")))
2019-07-21 15:24:46 +00:00
(spacemacs/set-leader-keys-for-major-mode 'org-mode
"ler" 'conlanging/eittlanda-to-runes
"lel" 'conlanging/eittlanda-to-latex
"lmr" 'conlanging/matter-to-runes
"lml" 'conlanging/matter-to-native-latin
2019-09-16 13:46:41 +00:00
"lmL" 'conlanging/matter-to-latex)
2019-07-21 15:24:46 +00:00
;;; keybindings.el ends here