From 6ab9053956911a18e165ce73f4edd68b3c67df39 Mon Sep 17 00:00:00 2001 From: Phuntsok Drak-pa Date: Fri, 13 Sep 2019 18:38:44 +0200 Subject: [PATCH] Added shortcut to open the conlanging folder directly --- keybindings.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/keybindings.el b/keybindings.el index f27897c..2ec91d5 100644 --- a/keybindings.el +++ b/keybindings.el @@ -19,6 +19,7 @@ (spacemacs/declare-prefix "oln" "Ňyqy") (spacemacs/declare-prefix "olno" "nyqy.org") (spacemacs/declare-prefix "olnO" "nyqy2.org") +(spacemacs/declare-prefix "olo" "Conlang directory") (spacemacs/declare-prefix "olt" "Tãso") (spacemacs/declare-prefix "olto" "taso.org") (spacemacs/declare-prefix-for-mode 'org-mode "ml" "conlanging") @@ -26,6 +27,8 @@ (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")) "olho" (lambda () (interactive) (find-file "~/Documents/code/web/langue-phundrak-fr/hjelp.org")) "olmo" (lambda () (interactive) @@ -34,8 +37,8 @@ (find-file "~/Documents/code/web/langue-phundrak-fr/nyqy.org")) "olnO" (lambda () (interactive) (find-file "~/Documents/code/web/langue-phundrak-fr/nyqy2.org")) - "oleo" (lambda () (interactive) - (find-file "~/Documents/code/web/langue-phundrak-fr/eittlanda.org")) + "olo" (lambda () (interactive) + (dired "~/Documents/code/web/langue-phundrak-fr")) "olto" (lambda () (interactive) (find-file "~/Documents/code/web/langue-phundrak-fr/taso.org")))