Selaa lähdekoodia

Fragtog and w3m

Eiyeron Fulmincendii 4 vuotta sitten
vanhempi
commit
0e0ecfc43b
1 muutettua tiedostoa jossa 23 lisäystä ja 5 poistoa
  1. 23 5
      config.org

+ 23 - 5
config.org

@@ -87,6 +87,18 @@ Experimenting with that package. I might need to fork it in the future to add th
 (package! wikinfo :recipe (:host github :repo "progfolio/wikinfo"))
 (package! wikinforg :recipe (:host github :repo "progfolio/wikinforg"))
 #+end_src
+*** Emacs + W3M
+#+begin_src emacs-lisp
+(package! w3m)
+#+end_src
+*** TODO Fragtog
+I'd like to write math stuff (notably on the computer rendering topic). Why not
+having something that automatically displays the inline previews?
+
+What remains is adding a way to detect the needed executables in the PATH.
+#+begin_src emacs-lisp
+(package! org-fragtog)
+#+end_src
 * TODO Config variables to make stuff easily tweakable
 * Helper functions
 I had issues before dealing with specific patterns at configuration time. At
@@ -276,10 +288,7 @@ expands some configured variable at initialization (for instance the capture
 file locations are derived from the org directory), so the ~after!~ hook won't
 update those variables.
 #+BEGIN_SRC emacs-lisp
-(use-package! org
-  :after doom
-  :init
-  (let ((base-folder-name "Notes"))
+(let ((base-folder-name "Notes"))
     (when (eq system-type 'windows-nt)
       ;; HACK I usually have two disk drives
       (if (file-directory-p (concat "C:/" base-folder-name))
@@ -292,7 +301,7 @@ update those variables.
                            base-folder-name)))
         (if (file-directory-p notes-folder)
             (setq org-directory notes-folder)
-          (message "Can't find the org note folder."))))))
+          (message "Can't find the org note folder.")))))
 #+END_SRC
 *** Org-Attach location
 Instead of having a global attachment dir, I'm going to use multiple folders as I have multiple org base folders
@@ -522,6 +531,15 @@ Here's some keybindings vaguely inspired from my experience with Spacemacs.
 (use-package! wikinforg
   :after wikinfo)
 #+end_src
+** TODO Fragtog
+Yay $\LaTeX$!
+
+#+begin_src emacs-lisp
+(use-package! org-fragtog
+  :after org
+  :config
+  (add-hook 'org-mode-hook #'org-fragtog-mode))
+#+end_src
 * Pico-8
 Using that [[https://github.com/Kaali/pico8-mode][pico-8 mode]] for Emacs might be fun. It even includes an overlay to
 display the GFX and label as pictures in the code. Fancy!