summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doom/.config/doom/config.el13
-rw-r--r--doom/.config/doom/config.org39
-rw-r--r--doom/.config/doom/packages.el1
3 files changed, 32 insertions, 21 deletions
diff --git a/doom/.config/doom/config.el b/doom/.config/doom/config.el
index efb5f57..fb96b66 100644
--- a/doom/.config/doom/config.el
+++ b/doom/.config/doom/config.el
@@ -228,6 +228,7 @@ emms-cache-file (concat doom-cache-dir "emms-cache"))
(after! org
(setq
org-startup-indented t
+ org-startup-folded t ; fold headers on startup
org-pretty-entities t
org-hide-emphasis-markers t
org-capture-templates-contexts nil
@@ -306,10 +307,12 @@ org-confirm-babel-evaluate nil)
:desc "Insert node" "i" #'org-roam-node-insert ; link a note
:desc "Backlinks" "b" #'org-roam-buffer-toggle
:desc "Capture" "c" #'org-roam-capture ; make a new note
- :desc "Graph" "g" #'org-roam-graph ; graph of every note
- :desc "Random node" "r" #'org-roam-node-random ; random node
- :desc "Open link" "o" #'org-open-at-point ; open linked note under cursor
- :desc "Jump back" "O" #'org-mark-ring-goto)) ; jump back to previous note after SPC n r o
+
+:desc "Graph" "g" #'org-roam-graph ; graph of every note
+
+:desc "Random node" "r" #'org-roam-node-random ; random node
+:desc "Open link" "o" #'org-open-at-point ; open linked note under cursor
+:desc "Jump back" "O" #'org-mark-ring-goto)) ; jump back to previous note after SPC n r o
(with-eval-after-load 'ox-html
(setq org-html-xml-declaration nil
@@ -398,6 +401,8 @@ org-html-postamble nil))
(provide 'browser)
+(use-package! elpher)
+
(use-package! mosey
:commands (mosey-forward mosey-backward
mosey-forward-bounce mosey-backward-bounce
diff --git a/doom/.config/doom/config.org b/doom/.config/doom/config.org
index 9a87eaa..cca2076 100644
--- a/doom/.config/doom/config.org
+++ b/doom/.config/doom/config.org
@@ -1,8 +1,8 @@
#+TITLE: Doom Emacs configuration
#+PROPERTY: header-args:emacs-lisp :tangle config.el
+* TODO Foreword
Hello! This is my literate configuration for Doom Emacs.
Why literate? because org is cool!
-Made with org-babel (the little begin_src blocks)
* Splash screen
This is my custom splash screen for Emacs.
@@ -307,7 +307,6 @@ I'm not a fan of html in my emails as i find it rendering bad and being hard to
(add-to-list 'mm-discouraged-alternatives "text/html")
(add-to-list 'mm-discouraged-alternatives "text/richtext"))
#+end_src
-
* Jabber
~Jabber? I hardly know her!~
@@ -342,7 +341,6 @@ As to not rely on ~M-x~ commands, define a binding as so
:desc "Set status" "s" #'jabber-send-presence)
#+end_src
-
* EMMS
~Music to my ears~
EMMS, the Emacs MultiMedia System (but mostly its just used for music).
@@ -380,13 +378,13 @@ Here we tell EMMS to use the preset configuration loader, this makes it so that
#+end_src
We then use ~emms-all~ to load every emms submodule. Possible variations include:
-| Name | What it does |
-|----------------+----------------------------------------------------------------|
-| ~emms-all~ | Loads every EMMS submodule. (browser, cover art, lyrics, etc.) |
-|----------------+----------------------------------------------------------------|
-| ~emms-standard~ | Smaller and more curated subset of features |
-|----------------+----------------------------------------------------------------|
-| ~emms-minimal~ | Very barebones EMMS |
+| Name | What it does |
+|---------------+----------------------------------------------------------------|
+| ~emms-all~ | Loads every EMMS submodule. (browser, cover art, lyrics, etc.) |
+|---------------+----------------------------------------------------------------|
+| ~emms-standard~ | Smaller and more curated subset of features |
+|---------------+----------------------------------------------------------------|
+| ~emms-minimal~ | Very barebones EMMS |
#+begin_src emacs-lisp
(emms-all)
@@ -454,8 +452,6 @@ This currently doesnt work.
:n "RET" #'emms-browser-add-tracks-and-play))
#+end_src
-
-
* Git
~LEAVE Emacs? You gotta be kidding.~
** Majutsu
@@ -489,6 +485,7 @@ But first, some good 'ol self-documenting code:
(after! org
(setq
org-startup-indented t
+ org-startup-folded t ; fold headers on startup
org-pretty-entities t
org-hide-emphasis-markers t
org-capture-templates-contexts nil
@@ -618,7 +615,12 @@ Define mappings
:desc "Insert node" "i" #'org-roam-node-insert ; link a note
:desc "Backlinks" "b" #'org-roam-buffer-toggle
:desc "Capture" "c" #'org-roam-capture ; make a new note
+#+end_src
+The org graph requires Graphviz and the ~dot~ executable
+#+begin_src emacs-lisp
:desc "Graph" "g" #'org-roam-graph ; graph of every note
+#+end_src
+#+begin_src emacs-lisp
:desc "Random node" "r" #'org-roam-node-random ; random node
:desc "Open link" "o" #'org-open-at-point ; open linked note under cursor
:desc "Jump back" "O" #'org-mark-ring-goto)) ; jump back to previous note after SPC n r o
@@ -771,11 +773,14 @@ Open a url in a secondary program, in my case ~Vivaldi~
(provide 'browser)
#+end_src
+* Elpher
+~Elpher Leaves Protocols Hanging as Eternally Relevant~
-* TODO Elpher
-~Elpher Leaves Protocols Hanging, Eternally Relevant~
-
-
+Elpher is a way to use the Gemini and Gopher protocols in Emacs.
+#+begin_src emacs-lisp
+(use-package! elpher)
+#+end_src
+That's about... all the config this package needs.
* Packages
~The ones that dont belong~
@@ -788,7 +793,7 @@ Mosey lets you ~Mosey down~ (get it?) to different points in a code block.
mosey-forward-bounce mosey-backward-bounce
mosey-forward-cycle mosey-backward-cycle))
#+end_src
-
+TODO: make this work properly and not just go to the start/end of line
*** Keybinds
Keybinds for mosey, under K because m was taken by localleader bindings
#+begin_src emacs-lisp
diff --git a/doom/.config/doom/packages.el b/doom/.config/doom/packages.el
index 6e95d1c..e767ecd 100644
--- a/doom/.config/doom/packages.el
+++ b/doom/.config/doom/packages.el
@@ -14,3 +14,4 @@
(package! mosey)
(package! aggressive-indent)
(package! org-appear)
+(package! elpher)