Added shortcut in Emacs to open awesome.org

This commit is contained in:
Lucien Cartier-Tilet 2020-04-11 20:27:07 +02:00
parent e0037b47e1
commit db0f81353b
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -3146,6 +3146,7 @@
of them has a description so the shortcut doesnt show up as ~lambda~ with of them has a description so the shortcut doesnt show up as ~lambda~ with
~which-keys~. ~which-keys~.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(spacemacs/declare-prefix "ofa" "awesome.org")
(spacemacs/declare-prefix "ofb" "bin.org") (spacemacs/declare-prefix "ofb" "bin.org")
(spacemacs/declare-prefix "ofe" "spacemacs.org") (spacemacs/declare-prefix "ofe" "spacemacs.org")
(spacemacs/declare-prefix "off" "fish.org") (spacemacs/declare-prefix "off" "fish.org")
@ -3155,6 +3156,7 @@
(spacemacs/declare-prefix "ofP" "picom.org") (spacemacs/declare-prefix "ofP" "picom.org")
(spacemacs/declare-prefix "ofr" "yadm README") (spacemacs/declare-prefix "ofr" "yadm README")
(spacemacs/set-leader-keys (spacemacs/set-leader-keys
"ofa" (lambda () (interactive) (find-file "~/org/config/awesome.org"))
"ofb" (lambda () (interactive) (find-file "~/org/config/bin.org")) "ofb" (lambda () (interactive) (find-file "~/org/config/bin.org"))
"ofe" (lambda () (interactive) (find-file "~/org/config/spacemacs.org")) "ofe" (lambda () (interactive) (find-file "~/org/config/spacemacs.org"))
"off" (lambda () (interactive) (find-file "~/org/config/fish.org")) "off" (lambda () (interactive) (find-file "~/org/config/fish.org"))