diff options
Diffstat (limited to 'bard-emacs-modules')
| -rw-r--r-- | bard-emacs-modules/bard-emacs-calendar.el | 4 | ||||
| -rw-r--r-- | bard-emacs-modules/bard-emacs-completion.el | 3 | ||||
| -rw-r--r-- | bard-emacs-modules/bard-emacs-org.el | 118 | ||||
| -rw-r--r-- | bard-emacs-modules/bard-emacs-prog.el | 83 | ||||
| -rw-r--r-- | bard-emacs-modules/bard-emacs-theme.el | 86 | ||||
| -rw-r--r-- | bard-emacs-modules/bard-emacs-ui.el | 3 | ||||
| -rw-r--r-- | bard-emacs-modules/bard-emacs-web.el | 37 | ||||
| -rw-r--r-- | bard-emacs-modules/bard-emacs-window.el | 61 | ||||
| -rw-r--r-- | bard-emacs-modules/bard-emacs-writing.el | 30 |
9 files changed, 120 insertions, 305 deletions
diff --git a/bard-emacs-modules/bard-emacs-calendar.el b/bard-emacs-modules/bard-emacs-calendar.el index 25a5c8d..7227e97 100644 --- a/bard-emacs-modules/bard-emacs-calendar.el +++ b/bard-emacs-modules/bard-emacs-calendar.el @@ -46,6 +46,7 @@ (org-clock-persistence-insinuate) (use-package org + ;; not really show what this does anymore :demand t :hook ((org-clock-out . bard/org-clock-update-mode-line))) @@ -87,7 +88,6 @@ :config (setq org-habit-show-done-always-green t org-habit-show-habits t - org-habit-show-all-today t) - ) + org-habit-show-all-today t)) (provide 'bard-emacs-calendar) diff --git a/bard-emacs-modules/bard-emacs-completion.el b/bard-emacs-modules/bard-emacs-completion.el index b8bfce7..adf6795 100644 --- a/bard-emacs-modules/bard-emacs-completion.el +++ b/bard-emacs-modules/bard-emacs-completion.el @@ -12,8 +12,7 @@ ;; a sub-directory and use, say, `find-file' to go to your home '~/' ;; or root '/' directory, Vertico will clear the old path to keep ;; only your current input. - (add-hook 'rfn-eshadow-update-overlay-hook #'vertico-directory-tidy)) - ) + (add-hook 'rfn-eshadow-update-overlay-hook #'vertico-directory-tidy))) (use-package rfn-eshadow :ensure nil diff --git a/bard-emacs-modules/bard-emacs-org.el b/bard-emacs-modules/bard-emacs-org.el index a7a9666..0d7c1ed 100644 --- a/bard-emacs-modules/bard-emacs-org.el +++ b/bard-emacs-modules/bard-emacs-org.el @@ -1,6 +1,3 @@ -;; |------------------------------------| -;; | Org Config | -;; |------------------------------------| (require 'org) (require 'ox) (require 'org-habit) @@ -20,10 +17,9 @@ (("C-c c" . org-capture)) :config (setq org-goto-interface 'outline-path-completion) + (setq org-special-ctrl-a/e t) (setq safe-local-variable-values '((org-refile-targets (nil :maxlevel . 3))))) -;; Org Variables -(setq bard/org-anki-file "~/Notes/denote/20240729T171836--anki-flashcards__cards_meta.org") (setq org-archive-location "~/Notes/denote/20240328T215840--archive__self.org::* Archive") (setq org-log-done 'time) (setq org-icalendar-include-todo t @@ -34,34 +30,32 @@ org-icalendar-use-deadline '(event-if-todo-not-done) org-icalendar-deadline-summary-prefix "DEADLINE: ") -(setq org-habit-show-all-today nil) - (setq org-structure-template-alist '(("c" . "center") - ("x" . "example") + ("x" . "example") ("d" . "definition") - ("t" . "theorem") + ("t" . "theorem") ("q" . "quote") - ("v" . "verse") - ("s" . "src") + ("v" . "verse") + ("s" . "src") ("E" . "src emacs-lisp :results value code :lexical t") ; for code examples in notes ("z" . "src emacs-lisp :tangle FILENAME") ; tangle without making dir, below makes dir ("Z" . "src emacs-lisp :tangle FILENAME :mkdirp yes"))) (setq org-ellipsis " โคถ") -;; mainly for denote, org throws away a link that i might reuse later -(setq org-id-link-to-org-use-id t) -(setq org-link-keep-stored-after-insertion nil) - -;; Making org mode look nice (setq org-startup-indented t org-startup-folded 'showeverything org-hide-emphasis-markers t org-startup-with-inline-images t org-image-actual-width '(600) org-list-allow-alphabetical t - org-insert-heading-respect-content t - org-special-ctrl-a/e t) + org-insert-heading-respect-content t) + +(use-package org-bullets + :ensure t + :hook (org-mode . org-bullets-mode) + :config + (setq org-bullets-bullet-list '("โ" "โ" "โ" "๐" "โ" "โ"))) (setq org-format-latex-options (plist-put org-format-latex-options :scale 1.5)) @@ -85,17 +79,9 @@ :ensure t ) -;; (use-package org-mode -;; :config - -;; ;; (setq org-latex-to-pdf-process -;; ;; '("xelatex -interaction nonstopmode %f" -;; ;; "xelatex -interaction nonstopmode %f")) -;; ;; (add-to-list 'org-latex-packages-alist -;; ;; '("AUTO" "babel" t ("pdflatex" "xelatex" "lualatex"))) -;; ;; (add-to-list 'org-latex-packages-alist -;; ;; '("AUTO" "polyglossia" t ("xelatex" "lualatex"))) -;; ) +;; latex editing niceness +(use-package org-fragtog + :ensure t) (with-eval-after-load 'ox-latex (add-to-list 'org-latex-classes @@ -110,13 +96,43 @@ ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))) -;; latex editing niceness -(use-package org-fragtog - :ensure t) +(setq org-latex-listings t) +(setq org-latex-listings-options + '(("basicstyle" "\\ttfamily") + ("breakatwhitespace" "false") + ("breakautoindent" "true") + ("breaklines" "true") + ("columns" "[c]fullflexible") + ("commentstyle" "") + ("emptylines" "*") + ("extendedchars" "false") + ("fancyvrb" "true") + ("firstnumber" "auto") + ("flexiblecolumns" "false") + ("frame" "single") + ("frameround" "tttt") + ("identifierstyle" "") + ("keepspaces" "true") + ("keywordstyle" "") + ("mathescape" "false") + ("numbers" "left") + ("numbers" "none") + ("numbersep" "5pt") + ("numberstyle" "\\tiny") + ("resetmargins" "false") + ("showlines" "true") + ("showspaces" "false") + ("showstringspaces" "false") + ("showtabs" "true") + ("stepnumber" "2") + ("stringstyle" "") + ("tab" "โน") + ("tabsize" "4") + ("texcl" "false") + ("upquote" "false"))) -;;; Org capture (setq org-capture-bookmark nil - org-id-link-to-org-use-id nil) + org-id-link-to-org-use-id t) (require 'org-protocol) (setq org-capture-templates @@ -124,7 +140,7 @@ (file+olp "~/Notes/denote/20240328T215727--todo.org" "Inbox" "General tasks") - "* TODO %?") + "* TODO %?") ;; ("s" "Basic Statistics" entry ;; (file+headline ;; "~/Notes/denote/20240830T215644--statistics-flashcards__anki_stats.org" "Unsorted") @@ -144,10 +160,10 @@ (file+olp "~/Notes/denote/20240328T220037--media-tracker__media_topic.org" "Quotes") "* Source: [[%:link][%:description]]\n#+BEGIN_QUOTE\n%i\n#+END_QUOTE\n%?") - ("Z" "Protocol Link" entry + ("Z" "Protocol Link" entry (file+olp "~/Notes/denote/20240328T220037--media-tracker__media_topic.org" "Watch/Read List") - "* [[%:link][%:description]] \nCaptured On: %U \n%?") + "* [[%:link][%:description]] \nCaptured On: %U \n%?") ("w" "Class outline" entry (file "~/Notes/denote/20240328T215727--todo.org") @@ -158,22 +174,7 @@ "~/Notes/denote/20250201T165619--project-ideas__idea_programming.org") "* %^{Project description}\n%?"))) -;;; Org Publish -(setq org-html-scripts nil) -(setq org-publish-project-alist - '(("org-blog" - :base-directory "~/Code/org-blog/" - :base-extension "org" - :publishing-directory "~/Code/org-site/" - :recursive t - :publishing-function org-html-publish-to-html - :headline-levels 4 - :html-preamble "<p class=\"backlink\"><a href=\"index.html\">Go back to note index</a></p><p class=\"updatedate\">Page last updated: <i>%d</i></p><hr>" - :html-postamble nil))) - -;;; Managing media -;; inspired by https://zzamboni.org/post/how-to-insert-screenshots-in-org-documents-on-macos/ - +;; copy/paste images (use-package org-download :after org :defer nil @@ -189,21 +190,14 @@ :config (require 'org-download)) +;; pdf notes (use-package org-noter :ensure t) +;; links (use-package org-cliplink :ensure t :bind ("C-c p" . org-cliplink)) -(use-package org-bullets - :ensure t - :hook (org-mode . org-bullets-mode) - :config - (setq org-bullets-bullet-list '("โ" "โ" "โ" "๐" "โ" "โ")) - ;; (set-fontset-font t 'symbol (font-spec :family "Iosevka Comfy") nil 'append) - ;; (set-fontset-font t 'unicode (font-spec :family "Iosevka Comfy") nil 'append) - ) - (provide 'bard-emacs-org) diff --git a/bard-emacs-modules/bard-emacs-prog.el b/bard-emacs-modules/bard-emacs-prog.el index 98b2c18..99523b3 100644 --- a/bard-emacs-modules/bard-emacs-prog.el +++ b/bard-emacs-modules/bard-emacs-prog.el @@ -1,29 +1,45 @@ +(use-package electric + :hook + (prog-mode . electric-indent-local-mode) + (prog-mode . electric-pair-local-mode)) + +(use-package paren + :hook (prog-mode . show-paren-local-mode) + :config + (setq show-paren-style 'parenthesis) + (setq show-paren-when-point-in-periphery nil) + (setq show-paren-when-point-inside-paren nil) + (setq show-paren-context-when-offscreen 'overlay)) + (use-package haskell-mode :ensure t :config (setq haskell-interactive-popup-errors nil)) -;; CPP Mode -(use-package emacs +(use-package c-mode :config (setq-default c-basic-offset 4) (setq c-default-style '((c-mode . "gnu") (java-mode . "java") (awk-mode . "awk")))) -;; Haskell +(use-package ggtags + :ensure t + :config + (add-hook 'c-mode-common-hook + (lambda () + (when (derived-mode-p 'c-mode 'c++-mode 'java-mode) + (ggtags-mode 1) + (setq-local imenu-create-index-function #'ggtags-build-imenu-index))))) -(use-package emacs +(use-package compile + :ensure nil + :defer 2 :config - (add-to-list 'exec-path "$HOME/.ghcup/bin") - (add-to-list 'exec-path "/home/bard/.cabal/bin") - (add-to-list 'exec-path "/home/bard/.local/bin") - (add-to-list 'exec-path "/home/bard/opt/") - (let ((bard/ghcup-path (expand-file-name "~/.ghcup/bin"))) - (setenv "PATH" (concat bard/ghcup-path ":" (getenv "PATH"))) - (add-to-list 'exec-path bard/ghcup-path))) + (require 'bard-compile) + (setq compilation-scroll-output t + compilation-auto-jump-to-first-error nil)) -;; Lisp (use-package clojure-mode :ensure t) @@ -43,51 +59,11 @@ ;; parens packages -(use-package c++-mode - :ensure nil - :bind - (:map c++-mode-map - ("C-c C-c" . project-compile)) - :config - (defun bard/c++-completion-or-indent () - "Complete if point is at a symbol; otherwise, indent." - (interactive) - (if (or (completion-at-point) (looking-at "\\_>")) - (completion-at-point) - (c-indent-line-or-region))) - - (defun bard/setup-c++-mode () - "Configure completion behavior for `c++-mode'." - (local-set-key (kbd "<tab>") 'bard/c++-completion-or-indent)) - - (add-hook 'c++-mode-hook #'bard/setup-c++-mode) - (add-hook 'c-mode-hook #'bard/setup-c++-mode) - ) - (use-package flycheck :ensure t :config (global-flycheck-mode t)) -(use-package ggtags - :ensure t - :config - (add-hook 'c-mode-common-hook - (lambda () - (when (derived-mode-p 'c-mode 'c++-mode 'java-mode) - (ggtags-mode 1) - (setq-local imenu-create-index-function #'ggtags-build-imenu-index))) - )) - -(use-package compile - :ensure nil - :defer 2 - :config - (require 'bard-compile) - (setq compilation-scroll-output t - compilation-auto-jump-to-first-error nil) - ) - ;; Version control (use-package magit :ensure t @@ -98,8 +74,7 @@ ("~/dotfiles-stow" . 0) ("~/.emacs.d" . 0) ("~/Pictures/wallpaper" . 0))) - :bind ("C-c g" . magit-status) - ) + :bind ("C-c g" . magit-status)) ;; (use-package ada-mode ;; :load-path "~/.emacs.d/old-ada" diff --git a/bard-emacs-modules/bard-emacs-theme.el b/bard-emacs-modules/bard-emacs-theme.el index 969adee..beacc09 100644 --- a/bard-emacs-modules/bard-emacs-theme.el +++ b/bard-emacs-modules/bard-emacs-theme.el @@ -3,92 +3,12 @@ ;; declare all themes as safe (i trust developers) (setq custom-safe-themes t) -(use-package ef-themes - :ensure t - :demand t - :hook - ((ef-themes-post-load . bard/ef-themes-hl-todo-faces) - (ef-themes-post-load . logos-update-fringe-in-buffers)) - :config - (defun bard/ef-themes-hl-todo-faces () - "Configure `hl-todo-keyword-faces' with Ef themes colors. -The exact color values are taken from the active Ef theme." - (ef-themes-with-colors - (setq hl-todo-keyword-faces - `(("WAIT" . ,yellow) - ("TODO" . ,red) - ("NEXT" . ,blue) - ("THEM" . ,magenta) - ("PROG" . ,cyan-warmer) - ("OKAY" . ,green-warmer) - ("DONT" . ,yellow-warmer) - ("FAIL" . ,red-warmer) - ("BUG" . ,red-warmer) - ("DONE" . ,green) - ("NOTE" . ,blue-warmer) - ("KLUDGE" . ,cyan) - ("HACK" . ,cyan) - ("TEMP" . ,red) - ("FIXME" . ,red-warmer) - ("XXX+" . ,red-warmer) - ("KILLED" . ,cyan) - ("REVIEW" . ,red) - ("DEPRECATED" . ,yellow))))) - - (setq org-priority-faces - '((?A . (:inherit (bold next-error))) - (?B . org-priority) - (?C . (:inherit (shadow org-priority))))) - - ;; (setq ef-themes-headings - ;; '((0 variable-pitch bold 1.5) - ;; (1 variable-pitch bold 1.3) - ;; (2 regular 1.2) - ;; (3 1.1) - ;; (agenda-date . (variable-pitch bold 1.3)) - ;; (agenda-structure . (variable-pitch bold 1.5)) - ;; (t . 1.1))) - - (setq ef-themes-headings - '((0 . (variable-pitch light 1.5)) - (1 . (variable-pitch light 1.3)) - (2 . (regular 1.2)) - (t . (variable-pitch 1.1)) - (agenda-date . (variable-pitch bold 1.3)) - (agenda-structure . (variable-pitch bold 1.5)))) - - ;; better faces in overrides - (setq ef-themes-common-palette-overrides - `((fringe unspecified) - (bg-line-number-active bg-hl-line) - (bg-line-number-inactive unspecified) - (fg-line-number-active fg-main) - (bg-tab-bar bg-dim))) - - ;; verbatim need higher contrast for org mode - (setq ef-elea-dark-palette-overrides - '((prose-verbatim yellow-cooler))) - - (setq ef-elea-light-palette-overrides - '((prose-verbatim yellow-cooler))) - - (define-key global-map (kbd "M-<f5>") #'ef-themes-select) - (setq ef-themes-variable-pitch-ui t - ef-themes-mixed-fonts t)) - (use-package doom-themes :ensure t :config (setq doom-gruvbox-dark-variant "hard") - (bard/select-theme 'doom-gruvbox) - ) + (bard/select-theme 'doom-gruvbox)) -(use-package gruber-darker-theme - :ensure t - :vc (:url "https://github.com/BardofSprites/gruber-darker-theme" - :rev newest)) - -;;;; Fonts (use-package fontaine :ensure nil :config @@ -116,8 +36,7 @@ The exact color values are taken from the active Ef theme." (use-package mixed-pitch :ensure t :hook - (org-mode . mixed-pitch-mode) - ) + (org-mode . mixed-pitch-mode)) (use-package spacious-padding :ensure t @@ -134,5 +53,4 @@ The exact color values are taken from the active Ef theme." (spacious-padding-mode t)) (provide 'bard-emacs-theme) - ;;; bard-emacs-theme.el ends here diff --git a/bard-emacs-modules/bard-emacs-ui.el b/bard-emacs-modules/bard-emacs-ui.el index 7639eeb..da0f5d1 100644 --- a/bard-emacs-modules/bard-emacs-ui.el +++ b/bard-emacs-modules/bard-emacs-ui.el @@ -1,4 +1,3 @@ -;; Generic variables for modes (use-package whitespace :ensure nil :demand t @@ -23,7 +22,6 @@ :config (setq display-line-numbers-type 'relative)) -;; Todo Keywords highlighting, colors defined in bard-emacs-theme.el (use-package hl-todo :ensure t :hook @@ -47,5 +45,4 @@ (add-to-list 'keycast-substitute-alist `(,event nil nil)))) (provide 'bard-emacs-ui) - ;;; bard-emacs-ui.el ends here diff --git a/bard-emacs-modules/bard-emacs-web.el b/bard-emacs-modules/bard-emacs-web.el index 18b6057..a9e1419 100644 --- a/bard-emacs-modules/bard-emacs-web.el +++ b/bard-emacs-modules/bard-emacs-web.el @@ -23,7 +23,6 @@ :channels ("#emacs" "##anime" "#gentoo") :nickserv-password my-nickserv-password)))) -;;; RSS Feeds (use-package elfeed :ensure t :config @@ -50,21 +49,11 @@ (setq rmh-elfeed-org-files (list "~/Notes/denote/feeds.org" "~/Notes/denote/youtube.org"))) -;; (use-package elfeed-goodies -;; :ensure t -;; :init -;; (elfeed-goodies/setup) -;; :config -;; (setq elfeed-goodies/powerline-default-separator 'box)) - -;;; Web Browsing (EWW and Firefox/Librewolf) - (use-package eww :defer t :config (setq browse-url-handlers '(("wikipedia\\.org" . eww-browse-url) - ;; ("github" . browse-url-chromium) ("github" . browse-url-default-browser) ("youtube.com" . browse-url-default-browser) ("reddit.com" . browse-url-default-browser))) @@ -87,31 +76,5 @@ :bind ("C-c w" . eww)) -;; librewolf open browser - -;; TODO fix this to work with librewolf-bin on Gentoo -(defun browse-url-librewolf (url &optional new-window) - "Ask the Librewolf WWW browser to load URL. -Defaults to the URL around or before point. Passes the strings -in the variable `browse-url-librewolf-arguments' to Librewolf. - -Interactively, if the variable `browse-url-new-window-flag' is non-nil, -loads the document in a new Librewolf window. A non-nil prefix argument -reverses the effect of `browse-url-new-window-flag'. - -If `browse-url-librewolf-new-window-is-tab' is non-nil, then -whenever a document would otherwise be loaded in a new window, it -is loaded in a new tab in an existing window instead. - -Non-interactively, this uses the optional second argument NEW-WINDOW -instead of `browse-url-new-window-flag'." - (interactive (browse-url-interactive-arg "URL: ")) - (setq url (browse-url-encode-url url)) - (let* ((process-environment (browse-url-process-environment))) - (apply #'start-process - (concat "librewolf-bin " url) nil - "librewolf-bin" - (list url)))) - (provide 'bard-emacs-web) ;;; bard-emacs-web.el ends here diff --git a/bard-emacs-modules/bard-emacs-window.el b/bard-emacs-modules/bard-emacs-window.el index 730a841..f990440 100644 --- a/bard-emacs-modules/bard-emacs-window.el +++ b/bard-emacs-modules/bard-emacs-window.el @@ -9,10 +9,10 @@ (setq even-window-sizes 'height-only) (setq window-sides-vertical nil) (setq switch-to-buffer-in-dedicated-window 'pop) - (setq split-height-threshold 80) - (setq split-width-threshold 125) - (setq window-min-height 3) - (setq window-min-width 30)) + (setq split-height-threshold 80 + split-width-threshold 125) + (setq window-min-height 3 + window-min-width 30)) (use-package windmove :bind* @@ -117,43 +117,16 @@ ("\\*ispell-top-choices\\*.*" (display-buffer-reuse-mode-window display-buffer-below-selected) (window-height . fit-window-to-buffer)) - )) - ) + ))) (use-package frame :ensure nil :bind (("C-x u" . undelete-frame) - ("C-x f" . other-frame-prefix)) ; I use only C-/ for `undo' + ("C-x f" . other-frame-prefix) + ("C-x w t" . tear-off-window) + ("C-x w c" . clone-indirect-buffer-other-window)) :hook (after-init . undelete-frame-mode)) -(use-package winner-mode - :init - (winner-mode 1) - :bind - (("C-x <right>" . winner-redo) - ("C-x <left>" . winner-undo) - ("C-x C-n" . next-buffer) - ("C-x C-p" . previous-buffer) - ("C-x <up>" . next-buffer) - ("C-x <down>" . previous-buffer))) - -(use-package emacs - :ensure nil - :bind - ("C-x w t" . tear-off-window) - ("C-x w c" . clone-indirect-buffer-other-window)) - -(use-package ibuffer - :ensure nil - :config - (setq ibuffer-default-sorting-mode 'major-mode) - (ibuffer-auto-mode t)) - -(use-package emacs - :ensure nil - :bind - ("C-x w w" . bard/toggle-window-split)) - (use-package beframe :ensure t :config @@ -198,3 +171,21 @@ (provide 'bard-emacs-window) ;;; bard-emacs-window.el ends here + +(use-package winner-mode + :init + (winner-mode 1) + :bind + (("C-x <right>" . winner-redo) + ("C-x <left>" . winner-undo) + ("C-x C-n" . next-buffer) + ("C-x C-p" . previous-buffer) + ("C-x <up>" . next-buffer) + ("C-x <down>" . previous-buffer) + ("C-x w w" . bard/toggle-window-split))) + +(use-package ibuffer + :ensure nil + :config + (setq ibuffer-default-sorting-mode 'major-mode) + (ibuffer-auto-mode t)) diff --git a/bard-emacs-modules/bard-emacs-writing.el b/bard-emacs-modules/bard-emacs-writing.el index dc08970..317dd42 100644 --- a/bard-emacs-modules/bard-emacs-writing.el +++ b/bard-emacs-modules/bard-emacs-writing.el @@ -1,5 +1,3 @@ -;;; Input related settings - (use-package emacs :ensure nil :demand t @@ -15,6 +13,7 @@ (setq default-input-method "cyrillic-yawerty") (setq default-transient-input-method "cyrillic-yawerty")) +;; spell check (use-package text-mode :ensure nil :hook @@ -28,20 +27,6 @@ (setq-default tab-width 4 indent-tabs-mode nil)) -(use-package electric - :hook - (prog-mode . electric-indent-local-mode) - (prog-mode . electric-pair-local-mode)) - -(use-package paren - :hook (prog-mode . show-paren-local-mode) - :config - (setq show-paren-style 'parenthesis) - (setq show-paren-when-point-in-periphery nil) - (setq show-paren-when-point-inside-paren nil) - (setq show-paren-context-when-offscreen 'overlay)) - -;; snippets (use-package yasnippet :ensure t :config @@ -55,7 +40,6 @@ :config (add-to-list 'completion-at-point-functions #'yasnippet-capf)) -;;; Notes (use-package denote :ensure t :config @@ -117,8 +101,7 @@ :ensure t :config (setq denote-silo-directories '("~/Notes/denote" - "~/Notes/Old Notes/")) - ) + "~/Notes/Old Notes/"))) (use-package denote-sequence :ensure t @@ -136,8 +119,7 @@ :config (setq denote-journal-directory "~/Notes/denote/journal/") - (setq denote-journal-title-format "Daily Tasks and Notes") - ) + (setq denote-journal-title-format "Daily Tasks and Notes")) (use-package denote-roam :ensure nil @@ -151,7 +133,6 @@ :config (denote-roam-mode t)) -;;;; Org Roam (use-package org-roam :ensure t :custom @@ -171,8 +152,6 @@ :custom (org-roam-ui-open-on-start nil)) -;;; Focus mode for writing - ;; Center line scrolling for focused writing (use-package emacs :config @@ -265,8 +244,7 @@ ;; (setq citar-file-open-functions 'find-file) :hook (org-mode . citar-capf-setup) - :bind (("C-c i" . citar-insert-citation)) - ) + :bind (("C-c i" . citar-insert-citation))) (use-package citar-denote :ensure t |
