Added shortcut to open the conlanging folder directly

This commit is contained in:
Phuntsok Drak-pa 2019-09-13 18:38:44 +02:00
parent c12253d458
commit 6ab9053956

View File

@ -19,6 +19,7 @@
(spacemacs/declare-prefix "oln" "Ňyqy") (spacemacs/declare-prefix "oln" "Ňyqy")
(spacemacs/declare-prefix "olno" "nyqy.org") (spacemacs/declare-prefix "olno" "nyqy.org")
(spacemacs/declare-prefix "olnO" "nyqy2.org") (spacemacs/declare-prefix "olnO" "nyqy2.org")
(spacemacs/declare-prefix "olo" "Conlang directory")
(spacemacs/declare-prefix "olt" "Tãso") (spacemacs/declare-prefix "olt" "Tãso")
(spacemacs/declare-prefix "olto" "taso.org") (spacemacs/declare-prefix "olto" "taso.org")
(spacemacs/declare-prefix-for-mode 'org-mode "ml" "conlanging") (spacemacs/declare-prefix-for-mode 'org-mode "ml" "conlanging")
@ -26,6 +27,8 @@
(spacemacs/declare-prefix-for-mode 'org-mode "mlm" "Mattér") (spacemacs/declare-prefix-for-mode 'org-mode "mlm" "Mattér")
(spacemacs/set-leader-keys (spacemacs/set-leader-keys
"oleo" (lambda () (interactive)
(find-file "~/Documents/code/web/langue-phundrak-fr/eittlanda.org"))
"olho" (lambda () (interactive) "olho" (lambda () (interactive)
(find-file "~/Documents/code/web/langue-phundrak-fr/hjelp.org")) (find-file "~/Documents/code/web/langue-phundrak-fr/hjelp.org"))
"olmo" (lambda () (interactive) "olmo" (lambda () (interactive)
@ -34,8 +37,8 @@
(find-file "~/Documents/code/web/langue-phundrak-fr/nyqy.org")) (find-file "~/Documents/code/web/langue-phundrak-fr/nyqy.org"))
"olnO" (lambda () (interactive) "olnO" (lambda () (interactive)
(find-file "~/Documents/code/web/langue-phundrak-fr/nyqy2.org")) (find-file "~/Documents/code/web/langue-phundrak-fr/nyqy2.org"))
"oleo" (lambda () (interactive) "olo" (lambda () (interactive)
(find-file "~/Documents/code/web/langue-phundrak-fr/eittlanda.org")) (dired "~/Documents/code/web/langue-phundrak-fr"))
"olto" (lambda () (interactive) "olto" (lambda () (interactive)
(find-file "~/Documents/code/web/langue-phundrak-fr/taso.org"))) (find-file "~/Documents/code/web/langue-phundrak-fr/taso.org")))