Parcourir la source

[emacs] Move on to Roam2

Colin Powell il y a 2 ans
Parent
commit
b1990cff1d
2 fichiers modifiés avec 12 ajouts et 12 suppressions
  1. 11 11
      emacs/.config/doom/config.org
  2. 1 1
      emacs/.config/doom/init.el

+ 11 - 11
emacs/.config/doom/config.org

@@ -32,9 +32,9 @@ is that when you're trying your best to rice up i3, Emacs needs a padded
 border.
 #+BEGIN_SRC emacs-lisp
 ;; Applies to current frame
-(set-frame-parameter nil 'internal-border-width 10) ; applies to the current frame
+;(set-frame-parameter nil 'internal-border-width 10) ; applies to the current frame
 ;; If we create new frames (via emacsclient) this will do the trick
-(add-to-list 'default-frame-alist '(internal-border-width . 10))
+;(add-to-list 'default-frame-alist '(internal-border-width . 10))
 #+END_SRC
 ** Fringe
 #+BEGIN_SRC emacs-lisp
@@ -207,9 +207,9 @@ a serif font when I’m writing a lot of words.
                       org-id)))
 
 ;; Refiling
-(setq org-refile-targets '(("~/var/org/index.org" :maxlevel . 9))
-      org-outline-path-complete-in-steps nil           ; Refile in a single go
-      org-refile-use-outline-path t)                  ; Show full paths for refiling
+;;(setq org-refile-targets '(("~/var/org/index.org" :maxlevel . 9))
+;;      org-outline-path-complete-in-steps nil           ; Refile in a single go
+;;      org-refile-use-outline-path t)                  ; Show full paths for refiling
 #+END_SRC
 
 ** Key bindings
@@ -237,12 +237,12 @@ easier. I just need to level up with Zettels and web publishing of my notes.
 (setq org-roam-directory "~/var/org/")
 (setq org-roam-dailies-directory "")
 
-(setq org-roam-dailies-capture-templates
-      '(("d" "default" entry
-         #'org-roam-capture--get-point
-         "* %?"
-         :file-name "%<%Y-%m-%d>"
-         :head "#+title: %<%Y-%m-%d>\n\n")))
+;;(setq org-roam-dailies-capture-templates
+;;      '(("d" "default" entry
+;;         #'org-roam-capture--get-point
+;;         "* %?"
+;;         :file-name "%<%Y-%m-%d>"
+;;         :head "#+title: %<%Y-%m-%d>\n\n")))
 #+END_SRC
 
 * Novel

+ 1 - 1
emacs/.config/doom/init.el

@@ -158,7 +158,7 @@
         +ipython           ; ipython support for babel
         +journal
         +pretty
-        +roam
+        +roam2
         +pandoc            ; pandoc integration into org's exporter
         +pomodoro
         +present)          ; using Emacs for presentations