From 3155d962727a72c6066844dcb6adfa46a553d7a4 Mon Sep 17 00:00:00 2001 From: ry Date: Mon, 25 Oct 2021 17:44:49 -0700 Subject: [PATCH] housekeeping --- .config/doom/packages.el | 1 + .config/user-dirs.dirs | 2 +- Emacs.org | 29 ++++++++++++++++++++++------- 3 files changed, 24 insertions(+), 8 deletions(-) diff --git a/.config/doom/packages.el b/.config/doom/packages.el index a3e4584..8eebf80 100644 --- a/.config/doom/packages.el +++ b/.config/doom/packages.el @@ -10,6 +10,7 @@ (package! cider) (package! org-pomodoro) (package! visual-fill-column) +(package! org-roam) ;; To install SOME-PACKAGE from MELPA, ELPA or emacsmirror: ;(package! some-package) diff --git a/.config/user-dirs.dirs b/.config/user-dirs.dirs index 1231e62..5fef081 100644 --- a/.config/user-dirs.dirs +++ b/.config/user-dirs.dirs @@ -4,7 +4,7 @@ # Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped # homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an # absolute path. No other format is supported. -# +# XDG_DESKTOP_DIR="$HOME/" XDG_DOWNLOAD_DIR="$HOME/dls" XDG_TEMPLATES_DIR="$HOME/" diff --git a/Emacs.org b/Emacs.org index cb6e966..54052ea 100644 --- a/Emacs.org +++ b/Emacs.org @@ -31,7 +31,6 @@ I need to test that I can remove this still. #+end_src * General Configuration - ** User Interface #+begin_src emacs-lisp @@ -48,7 +47,6 @@ I need to test that I can remove this still. #+end_src * Theme Configuration - I am using [[https://protesilaos.com/modus-themes/][Modus Themes]], by [[https://protesilaos.com/][Protesilaos Stavrou]] as they are minimal, pleasant to the eye, and conform to accessibility standards as outlined in [[https://www.w3.org/WAI/WCAG2AAA-Conformance][WCAG AAA]]. ** Modus Theme Configuration @@ -88,9 +86,7 @@ Using [[https://github.com/tonsky/FiraCode][Fira Code]] + Fira Code Retina. #+end_src * Org Mode Configuration - ** Org Directory - #+begin_src emacs-lisp ;; Set agenda files @@ -99,8 +95,6 @@ Using [[https://github.com/tonsky/FiraCode][Fira Code]] + Fira Code Retina. #+end_src - - ** General Configuration #+begin_src emacs-lisp @@ -112,7 +106,6 @@ Using [[https://github.com/tonsky/FiraCode][Fira Code]] + Fira Code Retina. #+end_src - ** Center Org Buffers #+begin_src emacs-lisp @@ -243,6 +236,20 @@ Since we don't want to have to manually use the org-babel-tangle function everyt ;; (add-hook 'org-mode-hook (lambda () (add-hook 'after-save-hook #'rymacs/org-babel-tangle-config))) +#+end_src +* Org Roam Configuration + +#+begin_src emacs-lisp + +(use-package org-roam + :custom + (org-roam-directory "~/roam") + :bind (("C-c n l" . org-roam-buffer-toggle) + ("C-c n f" . org-roam-node-find) + ("C-c n i" . org-roam-node-insert)) + :config + (org-roam-setup)) + #+end_src * Remote Aliases @@ -253,4 +260,12 @@ Since we don't want to have to manually use the org-babel-tangle function everyt (interactive) (dired "/ssh:root@207.66.177.26#46668:/")) +(defun connect-nyx () + (interactive) + (dired "/ssh:ry@charon.tr909.sh#1312|ssh:ansible@nyx.nullvoid.rip")) + +(defun connect-charon () + (interactive) + (dired "/ssh:ry@charon.tr909.sh#1312")) + #+end_src