Core - Config
Define core config package.
(use-package emacs
:after uno
:config
(provide 'uno-config))
(use-package emacs
:after uno-config
:general
(uno-leader-define
"fe" '(:ignore t :which-key "Emacs")
"fed" '(uno/config/edit :which-key "Edit configuration")
"feD" '(uno/config/edit-local :which-key "Edit local configuration")
"feR" '(uno/config/reload :which-key "Reload configuration")
"fs" '(save-buffer :which-key "Save file")
"fS" '(uno/file/save-all-files :which-key "Save all files"))
:init
(defun uno/config/edit ()
"Open configuration file."
(interactive)
(projectile-find-file-in-directory user-emacs-directory))
(defun uno/config/edit-local ()
"Open local configuration file."
(interactive)
(find-file uno-local))
(defun uno/config/reload ()
"Reload configuration."
(interactive)
(load-file (uno-emacs-path "init.el"))))