about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2020-10-26 18:39:12 -0500
committerCase Duckworth2020-10-26 18:39:12 -0500
commit95c7f0e7840266f8ad5a9b90dff36e475f6a7e34 (patch)
tree23351684ed31ad9b37a142e85f1ad83eae935633
parentRemove y-or-n-p from this section (diff)
downloademacs-95c7f0e7840266f8ad5a9b90dff36e475f6a7e34.tar.gz
emacs-95c7f0e7840266f8ad5a9b90dff36e475f6a7e34.zip
Add org-mode config
-rw-r--r--config.org43
1 files changed, 43 insertions, 0 deletions
diff --git a/config.org b/config.org index b7c7ae2..5b4cf03 100644 --- a/config.org +++ b/config.org
@@ -561,6 +561,33 @@ I was using company, but I think it might've been causing issues with ~awk-mode~
561 ("\\.js\\'" . web-mode))) 561 ("\\.js\\'" . web-mode)))
562#+END_SRC 562#+END_SRC
563* Writing 563* Writing
564** Org mode
565#+begin_src emacs-lisp
566 (use-package org
567 :custom
568 (org-startup-indented t)
569 (org-src-tab-acts-natively t)
570 (org-hide-emphasis-markers t)
571 (org-fontify-done-headline t)
572 (org-hide-leading-stars t)
573 (org-pretty-entities t)
574 :hook
575 (org-mode . variable-pitch-mode))
576
577 (use-package org-superstar
578 :hook
579 (org-mode . org-superstar-mode))
580#+end_src
581** Visual fill column
582#+begin_src emacs-lisp
583 (use-package visual-fill-column
584 :custom
585 (split-window-preferred-function 'visual-fill-column-split-window-sensibly)
586 (visual-fill-column-center-text t)
587 :config
588 (advice-add 'text-scale-adjust
589 :after #'visual-fill-column-adjust))
590#+end_src
564* Applications 591* Applications
565** Gemini & Gopher 592** Gemini & Gopher
566#+BEGIN_SRC emacs-lisp 593#+BEGIN_SRC emacs-lisp
@@ -592,3 +619,19 @@ I was using company, but I think it might've been causing issues with ~awk-mode~
592 :custom 619 :custom
593 (0x0-default-service 'ttm)) 620 (0x0-default-service 'ttm))
594#+END_SRC 621#+END_SRC
622* Machine-specific configurations
623#+begin_src emacs-lisp
624 (cond
625 (*acdw/at-home*
626 (use-package su
627 :config
628 (su-mode 1))
629 (use-package trashed
630 :custom
631 (delete-by-moving-to-trash t))
632 (use-package exec-path-from-shell
633 :demand
634 :config
635 (exec-path-from-shell-initialize)))
636 )
637#+end_src