about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--config.org88
1 files changed, 83 insertions, 5 deletions
diff --git a/config.org b/config.org index 6a20cfa..0bfb43f 100644 --- a/config.org +++ b/config.org
@@ -248,6 +248,17 @@ I don't like the customize interface, but I still sometimes use it when I'm not
248#+BEGIN_SRC emacs-lisp 248#+BEGIN_SRC emacs-lisp
249 (cuss disabled-command-function nil) 249 (cuss disabled-command-function nil)
250#+END_SRC 250#+END_SRC
251**** Function aliases
252#+begin_src emacs-lisp
253 (fset 'yes-or-no-p #'y-or-n-p)
254#+end_src
255*** Miscellaneous
256**** Convert =^L= to a line
257#+begin_src emacs-lisp
258 (use-package page-break-lines
259 :config
260 (global-page-break-lines-mode 1))
261#+end_src
251** Themes: [[https://github.com/protesilaos/modus-themes][Modus]] 262** Themes: [[https://github.com/protesilaos/modus-themes][Modus]]
252#+BEGIN_SRC emacs-lisp 263#+BEGIN_SRC emacs-lisp
253 (use-package modus-operandi-theme) 264 (use-package modus-operandi-theme)
@@ -301,7 +312,31 @@ I'm sure there's a better way to do this, but for now, this is the best I've got
301 :family "VariablePitch" 312 :family "VariablePitch"
302 :height 110) 313 :height 110)
303#+END_SRC 314#+END_SRC
304 315*** Ligatures
316#+begin_src emacs-lisp
317 (use-package ligature
318 :straight (ligature
319 :host github
320 :repo "mickeynp/ligature.el")
321 :config
322 (ligature-set-ligatures 'prog-mode
323 '("++" "--" "/=" "&&" "||" "||="
324 "->" "=>" "::" "__"
325 "==" "===" "!=" "=/=" "!=="
326 "<=" ">=" "<=>"
327 "/*" "*/" "//" "///"
328 "\\n" "\\\\"
329 "<<" "<<<" "<<=" ">>" ">>>" ">>="
330 "|=" "^="
331 "**" "--" "---" "----" "-----"
332 "==" "===" "====" "====="
333 "</" "<!--" "</>" "-->" "/>"
334 ":=" "..." ":>" ":<" ">:" "<:"
335 "::=" ;; add others here
336 ))
337 :config
338 (global-ligature-mode))
339#+end_src
305*** [[https://github.com/rolandwalker/unicode-fonts][Unicode fonts]] 340*** [[https://github.com/rolandwalker/unicode-fonts][Unicode fonts]]
306#+BEGIN_SRC emacs-lisp 341#+BEGIN_SRC emacs-lisp
307 (use-package persistent-soft) 342 (use-package persistent-soft)
@@ -312,10 +347,6 @@ I'm sure there's a better way to do this, but for now, this is the best I've got
312 (unicode-fonts-setup)) 347 (unicode-fonts-setup))
313 348
314#+END_SRC 349#+END_SRC
315** Interactivity
316#+begin_src emacs-lisp
317 (fset 'yes-or-no-p #'y-or-n-p)
318#+end_src
319* Editing 350* Editing
320** Completion 351** Completion
321I was using company, but I think it might've been causing issues with ~awk-mode~, so I'm trying ~hippie-mode~ right now. So far, I'm also enjoying not having a popup all the time. 352I was using company, but I think it might've been causing issues with ~awk-mode~, so I'm trying ~hippie-mode~ right now. So far, I'm also enjoying not having a popup all the time.
@@ -530,6 +561,37 @@ I was using company, but I think it might've been causing issues with ~awk-mode~
530 ("\\.js\\'" . web-mode))) 561 ("\\.js\\'" . web-mode)))
531#+END_SRC 562#+END_SRC
532* Writing 563* Writing
564** Visual fill column
565#+begin_src emacs-lisp
566 (use-package visual-fill-column
567 :custom
568 (split-window-preferred-function 'visual-fill-column-split-window-sensibly)
569 (visual-fill-column-center-text t)
570 (fill-column 100)
571 :config
572 (advice-add 'text-scale-adjust
573 :after #'visual-fill-column-adjust)
574 :hook
575 (org-mode . visual-fill-column-mode))
576#+end_src
577** Org mode
578#+begin_src emacs-lisp
579 (use-package org
580 :custom
581 (org-startup-indented t)
582 (org-src-tab-acts-natively t)
583 (org-hide-emphasis-markers t)
584 (org-fontify-done-headline t)
585 (org-hide-leading-stars t)
586 (org-pretty-entities t)
587 :hook
588 (org-mode . variable-pitch-mode))
589
590 (use-package org-superstar
591 :hook
592 (org-mode . org-superstar-mode))
593#+end_src
594
533* Applications 595* Applications
534** Gemini & Gopher 596** Gemini & Gopher
535#+BEGIN_SRC emacs-lisp 597#+BEGIN_SRC emacs-lisp
@@ -570,3 +632,19 @@ I was using company, but I think it might've been causing issues with ~awk-mode~
570 (nnimap-expunge t) 632 (nnimap-expunge t)
571 (nnimap-stream ssl))) 633 (nnimap-stream ssl)))
572#+end_src 634#+end_src
635* Machine-specific configurations
636#+begin_src emacs-lisp
637 (cond
638 (*acdw/at-home*
639 (use-package su
640 :config
641 (su-mode 1))
642 (use-package trashed
643 :custom
644 (delete-by-moving-to-trash t))
645 (use-package exec-path-from-shell
646 :demand
647 :config
648 (exec-path-from-shell-initialize)))
649 )
650#+end_src