~org config into config.el

As a precursor, define some functions and variables to load up org files
in org/*. Easy setup and usage.
This commit is contained in:
dx
2020-06-11 20:47:05 +01:00
parent 08a115e78d
commit 93326421fe
2 changed files with 19 additions and 13 deletions

View File

@@ -8,18 +8,7 @@
- Use it for most of my code editing and development needs.
- Incredibly versatile tool in my inventory.
- Has me like this half the time (╯°□°)╯┻━┻
* Init
Initialize literate config and setup some basic variables
** Bootstrap
Declare variable for org files I want to compile
#+BEGIN_SRC elisp
(defvar dx:literate/org-files '("personal.org"))
#+END_SRC
Then just iterate and load them via =org-babel-load-file=.
#+BEGIN_SRC elisp
(cl-loop for file in dx:literate/org-files do (org-babel-load-file (concat doom-private-dir "org/" file) t))
#+END_SRC
* Initial setup
** Doom Variables
- Set the doom localleader to "," because it's faster
- Using the font [[https://sourcefoundry.org/hack/][Hack]]