You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

73 lines
2.1 KiB

  1. ;;; packages.el --- conlanging layer packages file for Spacemacs.
  2. ;;
  3. ;; Copyright (c) 2012-2018 Sylvain Benner & Contributors
  4. ;;
  5. ;; Author: Lucien Cartier-Tilet <[email protected]>
  6. ;; URL: https://github.com/syl20bnr/spacemacs
  7. ;;
  8. ;; This file is not part of GNU Emacs.
  9. ;;
  10. ;;; License: GPLv3
  11. (spacemacs/declare-prefix "ol" "conlanging")
  12. (spacemacs/declare-prefix "olh" "Hjelp")
  13. (spacemacs/declare-prefix "olho" "hjelp.org")
  14. (spacemacs/declare-prefix "olm" "Mattér")
  15. (spacemacs/declare-prefix "olmo" "matter.org")
  16. (spacemacs/declare-prefix "ole" "Einnlanda")
  17. (spacemacs/declare-prefix "oleo" "eittlanda.org")
  18. (spacemacs/declare-prefix "oln" "Ñyqy")
  19. (spacemacs/declare-prefix "olno" "nyqy.org")
  20. (spacemacs/declare-prefix "olne" "nyqy.org (English)")
  21. (spacemacs/declare-prefix "olo" "Conlang directory")
  22. (spacemacs/declare-prefix "olO" "Conlang root directory")
  23. (spacemacs/declare-prefix "olt" "Tãso")
  24. (spacemacs/declare-prefix "olto" "taso.org")
  25. (spacemacs/declare-prefix-for-mode 'org-mode
  26. "ml" "conlanging")
  27. (spacemacs/declare-prefix-for-mode 'org-mode
  28. "mle" "Eittlanda")
  29. (spacemacs/declare-prefix-for-mode 'org-mode
  30. "mlm" "Mattér")
  31. (spacemacs/set-leader-keys "oleo"
  32. (lambda ()
  33. (interactive)
  34. (find-file "~/Documents/conlanging/web/eittland.org"))
  35. "olho"
  36. (lambda ()
  37. (interactive)
  38. (find-file "~/Documents/conlanging/web/hjelp.org"))
  39. "olmo"
  40. (lambda ()
  41. (interactive)
  42. (find-file "~/Documents/conlanging/web/matter.org"))
  43. "olno"
  44. (lambda ()
  45. (interactive)
  46. (find-file "~/Documents/conlanging/web/nyqy.org"))
  47. "olne"
  48. (lambda ()
  49. (interactive)
  50. (find-file "~/Documents/conlanging/web/en/nyqy.org"))
  51. "olO"
  52. (lambda ()
  53. (interactive)
  54. (dired "~/Documents/conlanging"))
  55. "olo"
  56. (lambda ()
  57. (interactive)
  58. (dired "~/Documents/conlanging/web"))
  59. "olto"
  60. (lambda ()
  61. (interactive)
  62. (find-file "~/Documents/conlanging/web/taso.org")))
  63. (spacemacs/set-leader-keys-for-major-mode
  64. 'org-mode "ler" 'conlanging/eittlanda-to-runes
  65. "lel" 'conlanging/eittlanda-to-latex "lmr"
  66. 'conlanging/matter-to-runes "lml" 'conlanging/matter-to-native-latin
  67. "lmL" 'conlanging/matter-to-latex)
  68. ;;; keybindings.el ends here