dotfiles

commit beba0be0915a0fdcbe32bd7626e565fea85c0e48

Author: Honza Pokorny <me@honza.ca>

doom things

 doom.d/config.el | 11 ++++++++++-
 doom.d/init.el | 12 ++++++------


diff --git a/doom.d/config.el b/doom.d/config.el
index 8675f1c09593dcd2c1361ec5dbbba4328f18fbf3..01b458079fb3ae755d57458e5d9ad6447f4a9711 100644
--- a/doom.d/config.el
+++ b/doom.d/config.el
@@ -30,10 +30,19 @@ ;; If you use `org' and don't want your org files in the default location below,
 ;; change `org-directory'. It must be set before org loads!
 (setq org-directory "~/Dropbox/org/")
 (setq org-roam-directory "~/Dropbox/org/")
+(setq org-journal-dir "~/Dropbox/org/")
 (setq org-journal-date-prefix "#+TITLE: ")
-(setq org-journal-file-format "%Y-%m-%d-journal.org")
+(setq org-journal-file-format "%Y%m%d.org")
 (setq org-journal-date-format "%Y-%m-%d")
 
+(setq org-refile-targets
+  '(("~/Dropbox/org/gtd.org" :maxlevel . 3)
+    ("~/Dropbox/org/someday.org" :level . 1)
+    ("~/Dropbox/org/tickler.org" :maxlevel . 2)))
+
+(setq org-agenda-files '("~/Dropbox/org/inbox.org"
+                          "~/Dropbox/org/gtd.org"
+                          "~/Dropbox/org/tickler.org"))
 ;; This determines the style of line numbers in effect. If set to `nil', line
 ;; numbers are disabled. For relative line numbers, set this to `relative'.
 (setq display-line-numbers-type 'relative)




diff --git a/doom.d/init.el b/doom.d/init.el
index d2d0a08b294d1b8de2428e6e946649815c4beaec..d76cbb90bc3ac0e565da983b16ea82ddfc369713 100644
--- a/doom.d/init.el
+++ b/doom.d/init.el
@@ -38,21 +38,21 @@        nav-flash         ; blink the current line after jumping
        ;;neotree           ; a project drawer, like NERDTree for vim
        ophints           ; highlight the region an operation acts on
        (popup +defaults)   ; tame sudden yet inevitable temporary windows
-       ;;pretty-code       ; replace bits of code with pretty symbols
+       pretty-code       ; replace bits of code with pretty symbols
        ;;tabs              ; an tab bar for Emacs
        ;;treemacs          ; a project drawer, like neotree but cooler
        ;;unicode           ; extended unicode support for various languages
        vc-gutter         ; vcs diff in the fringe
        vi-tilde-fringe   ; fringe tildes to mark beyond EOB
        window-select     ; visually switch windows
-       workspaces        ; tab emulation, persistence & separate workspaces
+       ;; workspaces        ; tab emulation, persistence & separate workspaces
        ;;zen               ; distraction-free coding or writing
 
        :editor
        (evil +everywhere); come to the dark side, we have cookies
        file-templates    ; auto-snippets for empty files
        fold              ; (nigh) universal code folding
-       ;;(format +onsave)  ; automated prettiness
+       (format +onsave)  ; automated prettiness
        ;;god               ; run Emacs commands without modifier keys
        ;;lispy             ; vim for lisp, for people who don't like vim
        ;;multiple-cursors  ; editing in many places at once
@@ -89,7 +89,7 @@        ;;ein               ; tame Jupyter notebooks with emacs
        (eval +overlay)     ; run code, run (also, repls)
        ;;gist              ; interacting with github gists
        lookup              ; navigate your code and its documentation
-       ;;lsp
+       lsp
        ;;macos             ; MacOS-specific commands
        magit             ; a git porcelain for Emacs
        ;;make              ; run make tasks from Emacs
@@ -106,7 +106,7 @@        ;;agda              ; types of types of types of types...
        ;;assembly          ; assembly for fun or debugging
        cc                ; C/C++/Obj-C madness
        clojure           ; java with a lisp
-       ;;common-lisp       ; if you've seen one lisp, you've seen them all
+       common-lisp       ; if you've seen one lisp, you've seen them all
        ;;coq               ; proofs-as-programs
        ;;crystal           ; ruby at the speed of c
        ;;csharp            ; unity, .NET, and mono shenanigans
@@ -119,7 +119,7 @@        ;;ess               ; emacs speaks statistics
        ;;faust             ; dsp, but you get to keep your soul
        ;;fsharp           ; ML stands for Microsoft's Language
        ;;fstar             ; (dependent) types and (monadic) effects and Z3
-       go                ; the hipster dialect
+       (go +lsp)                ; the hipster dialect
        ;;(haskell +dante)  ; a language that's lazier than I am
        ;;hy                ; readability of scheme w/ speed of python
        ;;idris             ;