[emacs] Fix org roam dailies and add emjois

This commit is contained in:
2020-11-19 08:47:24 -05:00
parent 6411d260c6
commit 42f91766ff
4 changed files with 31 additions and 21 deletions

View File

@ -251,7 +251,19 @@ I add only two custom mappings to the default org mode maps, a shortcut to my In
I am absolutely in love with [[https://org-roam.readthedocs.io/en/develop/][Org-roam]]. Everything about it makes taking notes easier. I just need to level up with Zettels and web publishing of my notes.
#+BEGIN_SRC emacs-lisp
(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")))
#+END_SRC
#+RESULTS:
: /
** Org-fc
Trying a new space-repetition framework.
#+BEGIN_SRC emacs-lisp
@ -359,11 +371,8 @@ Handful of fun aliases to make working in Eshell almost like a /real/ shell :smi
"gc" "magit-commit"))
#+END_SRC
* Coding
I once used LSP, but Emacs lsp-mode is flaky as hell. It works sometimes, but other times causes pyls to thrash the CPU. I don't need that, not when Eglot exists. This just makes sure Eglot runs in `python-mode`
#+BEGIN_SRC emacs-lisp
;(add-hook 'python-mode-hook 'eglot-ensure)
#+END_SRC
LSP doesn't like big projects and I can't blame it. This forces it to index huge
projects without warning us everytime.
#+begin_src emacs-lisp
(after! lsp
(setq lsp-file-watch-threshold nil))