diff --git a/emacs/.config/doom/config.org b/emacs/.config/doom/config.org index 3f2e915..666ab77 100644 --- a/emacs/.config/doom/config.org +++ b/emacs/.config/doom/config.org @@ -3,12 +3,15 @@ This configuration of Emacs is highly opinionated. * Basics -My identity. Used in a handful of places in Emacs to prepopulate authorship and such. +My identity. Used in a handful of places in Emacs to pre-populate authorship and such. #+BEGIN_SRC emacs-lisp (setq user-full-name "Colin Powell" user-mail-address "colin@unbl.ink") +#+END_SRC -(add-hook 'python-mode-hook 'eglot-ensure) +From a friend at [[https://discord.com/channels/406534637242810369/695450585758957609/715126265715097600][Discord]] +#+BEGIN_SRC emacs-lisp +(setq ivy-read-action-function #'ivy-hydra-read-action) #+END_SRC * User interface ** Fonts and themes @@ -230,6 +233,13 @@ I am absolutely in love with [[https://org-roam.readthedocs.io/en/develop/][Org- #+BEGIN_SRC emacs-lisp (setq org-roam-directory "~/org/") #+END_SRC +** Org-fc +Trying a new space-repetition framework. + +#+BEGIN_SRC emacs-lisp +(setq org-fc-directories "~/org/") +(require 'org-fc-hydra) +#+END_SRC * Novel Reading novels in Emacs, how novel! @@ -314,6 +324,10 @@ Handful of fun aliases to make working in Eshell almost like a /real/ shell :smi #+BEGIN_SRC emacs-lisp (after! eshell (set-eshell-alias! + "fif" "cd ~/src/ff/fifteen5/" + "djtest" "cd ~/src/ff/fifteen5/ && DJANGO_SETTINGS_MODULE=ff.settings.ci python manage.py test $1" + "djsh" "cd ~/src/ff/fifteen5/ && DJANGO_SETTINGS_MODULE=ff.settings.ci python manage.py shell_plus" + "dj" "cd ~/src/ff/fifteen5/ && DJANGO_SETTINGS_MODULE=ff.settings.ci python manage.py $1" "f" "(other-window 1) && find-file $1" "l" "ls -lh" "d" "dired $1" @@ -321,6 +335,11 @@ Handful of fun aliases to make working in Eshell almost like a /real/ shell :smi "gs" "magit-status" "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 * Mastodon There's gotta be a way to get the token out of password-store for this.