[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

@ -182,6 +182,14 @@
(find-file +todo-file)) (find-file +todo-file))
(setq org-roam-directory "~/var/org/") (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-fc-directories "~/var/org/") (setq org-fc-directories "~/var/org/")
(require 'org-fc-hydra) (require 'org-fc-hydra)
@ -268,8 +276,6 @@
"gs" "magit-status" "gs" "magit-status"
"gc" "magit-commit")) "gc" "magit-commit"))
;(add-hook 'python-mode-hook 'eglot-ensure)
(after! lsp (after! lsp
(setq lsp-file-watch-threshold nil)) (setq lsp-file-watch-threshold nil))

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. 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 #+BEGIN_SRC emacs-lisp
(setq org-roam-directory "~/var/org/") (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 #+END_SRC
#+RESULTS:
: /
** Org-fc ** Org-fc
Trying a new space-repetition framework. Trying a new space-repetition framework.
#+BEGIN_SRC emacs-lisp #+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")) "gc" "magit-commit"))
#+END_SRC #+END_SRC
* Coding * 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` LSP doesn't like big projects and I can't blame it. This forces it to index huge
#+BEGIN_SRC emacs-lisp projects without warning us everytime.
;(add-hook 'python-mode-hook 'eglot-ensure)
#+END_SRC
#+begin_src emacs-lisp #+begin_src emacs-lisp
(after! lsp (after! lsp
(setq lsp-file-watch-threshold nil)) (setq lsp-file-watch-threshold nil))

View File

@ -24,6 +24,7 @@
;;helm ; the *other* search engine for love and life ;;helm ; the *other* search engine for love and life
;;ido ; the other *other* search engine... ;;ido ; the other *other* search engine...
(ivy ; a search engine for love and life (ivy ; a search engine for love and life
+childframe
+fuzzy +fuzzy
+icons) +icons)
@ -32,12 +33,13 @@
doom ; what makes DOOM look the way it does doom ; what makes DOOM look the way it does
doom-dashboard ; a nifty splash screen for Emacs doom-dashboard ; a nifty splash screen for Emacs
doom-quit ; DOOM quit-message prompts when you quit Emacs doom-quit ; DOOM quit-message prompts when you quit Emacs
(emoji +unicode) ;
;;fill-column ; a `fill-column' indicator ;;fill-column ; a `fill-column' indicator
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
;;hydra ;;hydra
;;indent-guides ; highlighted indent columns ;;indent-guides ; highlighted indent columns
ligatures ; ligatures ;
;minimap ; show a map of the code on the side minimap ; show a map of the code on the side
modeline ; snazzy, Atom-inspired modeline, plus API modeline ; snazzy, Atom-inspired modeline, plus API
nav-flash ; blink cursor line after big motions nav-flash ; blink cursor line after big motions
;;neotree ; a project drawer, like NERDTree for vim ;;neotree ; a project drawer, like NERDTree for vim
@ -83,7 +85,7 @@
:checkers :checkers
syntax ; tasing you for every semicolon you forget syntax ; tasing you for every semicolon you forget
spell ; tasing you for misspelling mispelling (spell +flyspell +aspell) ; tasing you for misspelling mispelling
grammar ; tasing grammar mistake every you make grammar ; tasing grammar mistake every you make
:tools :tools
@ -99,10 +101,10 @@
+dictionary +dictionary
+docsets) +docsets)
lsp lsp
magit ; a git porcelain for Emacs magit ; a git porcelain for Emacs
make ; run make tasks from Emacs make ; run make tasks from Emacs
pass ; password manager for nerds (pass +auth) ; password manager for nerds
pdf ; pdf enhancements pdf ; pdf enhancements
;;prodigy ; FIXME managing external services & code builders ;;prodigy ; FIXME managing external services & code builders
;;rgb ; creating color strings ;;rgb ; creating color strings
;;taskrunner ; taskrunner for all your projects ;;taskrunner ; taskrunner for all your projects
@ -120,7 +122,7 @@
;;csharp ; unity, .NET, and mono shenanigans ;;csharp ; unity, .NET, and mono shenanigans
data ; config/data formats data ; config/data formats
;;(dart +flutter) ; paint ui and not much else ;;(dart +flutter) ; paint ui and not much else
;;elixir ; erlang done right (elixir +lsp) ; erlang done right
;;elm ; care for a cup of TEA? ;;elm ; care for a cup of TEA?
emacs-lisp ; drown in parentheses emacs-lisp ; drown in parentheses
;;erlang ; an elegant language for a more civilized age ;;erlang ; an elegant language for a more civilized age

View File

@ -27,14 +27,8 @@
:recipe(:host github :recipe(:host github
:repo "alphapapa/matrix-client.el")) :repo "alphapapa/matrix-client.el"))
;(package! eglot)
;; python stuffs ;; python stuffs
(package! blacken) (package! blacken)
;;(package! pylint)
;;(package! py-isort)
;;(package! importmagic)
;; org stuffs ;; org stuffs
(package! ob-http) (package! ob-http)
@ -67,4 +61,3 @@
(package! srcery-theme) (package! srcery-theme)
(package! kaolin-themes) (package! kaolin-themes)
(package! nyan-mode) (package! nyan-mode)
(package! emojify)