about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--config.org96
1 files changed, 48 insertions, 48 deletions
diff --git a/config.org b/config.org index 0aeee16..f7def51 100644 --- a/config.org +++ b/config.org
@@ -189,7 +189,7 @@ Let's try settings from [[https://github.com/nex3/perspective-el#some-musings-on
189 even-window-sizes nil) 189 even-window-sizes nil)
190#+end_src 190#+end_src
191 191
192*** Switch to other window or buffer :crux: 192*** Switch to other window or buffer :crux:
193 193
194#+begin_src emacs-lisp :noweb-ref bindings 194#+begin_src emacs-lisp :noweb-ref bindings
195 (acdw/bind "M-o" #'crux-other-window-or-switch-buffer) 195 (acdw/bind "M-o" #'crux-other-window-or-switch-buffer)
@@ -255,7 +255,7 @@ function to the =kill-buffer-query-functions= hook that will return
255 (add-hook 'kill-buffer-query-functions #'immortal-scratch) 255 (add-hook 'kill-buffer-query-functions #'immortal-scratch)
256#+end_src 256#+end_src
257 257
258*** An /even better/ scratch buffer :package: 258*** An /even better/ scratch buffer :package:
259 259
260The aptly-named =scratch= pops open a new scratch buffer /with the same 260The aptly-named =scratch= pops open a new scratch buffer /with the same
261mode as the file you're currently editing/. I'm pretty chuffed about 261mode as the file you're currently editing/. I'm pretty chuffed about
@@ -395,7 +395,7 @@ underline below all the text.
395 (setq-default x-underline-at-descent-line t) 395 (setq-default x-underline-at-descent-line t)
396#+end_src 396#+end_src
397 397
398*** Unicode fonts :package: 398*** Unicode fonts :package:
399 399
400=unicode-fonts= pulls in some other packages that still require the 400=unicode-fonts= pulls in some other packages that still require the
401deprecated =cl= library. So, I've forked those libraries to require 401deprecated =cl= library. So, I've forked those libraries to require
@@ -487,7 +487,7 @@ issue.
487 (add-hook 'after-make-frame-functions #'hook--unicode-fonts-setup) 487 (add-hook 'after-make-frame-functions #'hook--unicode-fonts-setup)
488#+end_src 488#+end_src
489 489
490*** Draw form-feeds (=^L=) properly :package: 490*** Draw form-feeds (=^L=) properly :package:
491 491
492#+begin_src emacs-lisp :noweb-ref packages 492#+begin_src emacs-lisp :noweb-ref packages
493 (straight-use-package 'form-feed) 493 (straight-use-package 'form-feed)
@@ -500,7 +500,7 @@ issue.
500 500
501** Theming 501** Theming
502 502
503*** Modus themes :package: 503*** Modus themes :package:
504 504
505I want the git version. 505I want the git version.
506 506
@@ -552,7 +552,7 @@ I want the git version.
552 552
553*** Mode line 553*** Mode line
554 554
555**** Minions mode :package: 555**** Minions mode :package:
556 556
557#+begin_src emacs-lisp :noweb-ref packages 557#+begin_src emacs-lisp :noweb-ref packages
558 (straight-use-package 'minions) 558 (straight-use-package 'minions)
@@ -563,7 +563,7 @@ I want the git version.
563 (minions-mode +1) 563 (minions-mode +1)
564#+end_src 564#+end_src
565 565
566**** COMMENT Simple modeline :package: 566**** COMMENT Simple modeline :package:
567 567
568After trying =doom-mode-line= and =smart-mode-line=, I think I've finally 568After trying =doom-mode-line= and =smart-mode-line=, I think I've finally
569landed on a good one: =simple-modeline=. 569landed on a good one: =simple-modeline=.
@@ -730,7 +730,7 @@ How is this not built into Emacs? Oh well, I have [[https://github.com/jamesnvc
730 'font-lock-face 'font-lock-variable-name-face)))) 730 'font-lock-face 'font-lock-variable-name-face))))
731#+end_src 731#+end_src
732 732
733**** Blackout some modes :package: 733**** Blackout some modes :package:
734 734
735Like =diminish= or =delight=, =blackout= allows me to remove some 735Like =diminish= or =delight=, =blackout= allows me to remove some
736minor-modes from the modeline. 736minor-modes from the modeline.
@@ -749,7 +749,7 @@ Shows where we are in the modeline.
749 (which-function-mode +1) 749 (which-function-mode +1)
750#+end_src 750#+end_src
751 751
752**** COMMENT Nyan mode :package: 752**** COMMENT Nyan mode :package:
753 753
754+Fuck it, let's have some fun.+ COMMENTED out because it messes up my 754+Fuck it, let's have some fun.+ COMMENTED out because it messes up my
755modeline :( 755modeline :(
@@ -885,7 +885,7 @@ to /hide/ those contents.
885 read-file-name-completion-ignore-case t) 885 read-file-name-completion-ignore-case t)
886#+end_src 886#+end_src
887 887
888*** COMMENT Selectrum :package: 888*** COMMENT Selectrum :package:
889 889
890*COMMENT 2021-02-01*: For some reason, selectrum will randomly do a thing where 890*COMMENT 2021-02-01*: For some reason, selectrum will randomly do a thing where
891it, like, flashes up and down in the minibuffer? I don't know how to explain 891it, like, flashes up and down in the minibuffer? I don't know how to explain
@@ -905,7 +905,7 @@ for now .... I just want to see my completions.
905 (selectrum-mode +1) 905 (selectrum-mode +1)
906#+end_src 906#+end_src
907 907
908*** COMMENT Prescient :package: 908*** COMMENT Prescient :package:
909 909
910#+begin_src emacs-lisp :noweb-ref packages 910#+begin_src emacs-lisp :noweb-ref packages
911 (straight-use-package 'prescient) 911 (straight-use-package 'prescient)
@@ -970,7 +970,7 @@ Let's have =prescient= and =selectrum= work together.
970 (icomplete-vertical-mode +1) 970 (icomplete-vertical-mode +1)
971#+end_src 971#+end_src
972 972
973*** Orderless :package: 973*** Orderless :package:
974 974
975#+begin_src emacs-lisp :noweb-ref packages 975#+begin_src emacs-lisp :noweb-ref packages
976 (straight-use-package 'orderless) 976 (straight-use-package 'orderless)
@@ -982,7 +982,7 @@ Let's have =prescient= and =selectrum= work together.
982 completion-styles '(orderless)) 982 completion-styles '(orderless))
983#+end_src 983#+end_src
984 984
985*** Consult :package: 985*** Consult :package:
986 986
987#+begin_src emacs-lisp :noweb-ref modes 987#+begin_src emacs-lisp :noweb-ref modes
988 (straight-use-package 'consult) 988 (straight-use-package 'consult)
@@ -1034,7 +1034,7 @@ default completion system. These all come from the [[https://github.com/minad/c
1034 register-preview-function #'consult-register-preview) 1034 register-preview-function #'consult-register-preview)
1035#+end_src 1035#+end_src
1036 1036
1037*** Marginalia :package: 1037*** Marginalia :package:
1038 1038
1039Finally, =marginalia= provides extra information about completion 1039Finally, =marginalia= provides extra information about completion
1040candidates. 1040candidates.
@@ -1181,7 +1181,7 @@ generally use it as a leader for entering applications.
1181 (run-hooks 'acdw/leader-defined-hook) 1181 (run-hooks 'acdw/leader-defined-hook)
1182#+end_src 1182#+end_src
1183 1183
1184*** Show keybindings with =which-key= :package: 1184*** Show keybindings with =which-key= :package:
1185 1185
1186#+begin_src emacs-lisp :noweb-ref packages 1186#+begin_src emacs-lisp :noweb-ref packages
1187 (straight-use-package 'which-key) 1187 (straight-use-package 'which-key)
@@ -1211,7 +1211,7 @@ for a program that values freedom so much.
1211 (setq-default disabled-command-function nil) 1211 (setq-default disabled-command-function nil)
1212#+end_src 1212#+end_src
1213 1213
1214** CRUX :package:crux: 1214** CRUX :package:crux:
1215 1215
1216A collection of generally-useful functions that I don't want to bother 1216A collection of generally-useful functions that I don't want to bother
1217including here myself. This is kind of an experiment, to be honest. 1217including here myself. This is kind of an experiment, to be honest.
@@ -1338,7 +1338,7 @@ the user is looking at something else.
1338 1338
1339** Garbage collection 1339** Garbage collection
1340 1340
1341*** COMMENT Garbage Collection Magic Hack :package: 1341*** COMMENT Garbage Collection Magic Hack :package:
1342 1342
1343Look, I'm not going to look too deeply into this. It's /magic/ afer 1343Look, I'm not going to look too deeply into this. It's /magic/ afer
1344all. 1344all.
@@ -1433,7 +1433,7 @@ Notepad can handle UNIX line endings, so I don't want to hear it.
1433 (add-hook 'before-save-hook #'ewiki/no-junk-please-were-unixish) 1433 (add-hook 'before-save-hook #'ewiki/no-junk-please-were-unixish)
1434#+end_src 1434#+end_src
1435 1435
1436** Keep =~/.emacs.d= clean :package: 1436** Keep =~/.emacs.d= clean :package:
1437 1437
1438#+begin_src emacs-lisp :noweb-ref packages :noweb yes 1438#+begin_src emacs-lisp :noweb-ref packages :noweb yes
1439 (straight-use-package 'no-littering) 1439 (straight-use-package 'no-littering)
@@ -1462,7 +1462,7 @@ Notepad can handle UNIX line endings, so I don't want to hear it.
1462 `((".*" . ,dir)))) 1462 `((".*" . ,dir))))
1463#+end_src 1463#+end_src
1464 1464
1465** Autosaves :package: 1465** Autosaves :package:
1466 1466
1467I don't use the =auto-save= system, preferring instead to use 1467I don't use the =auto-save= system, preferring instead to use
1468Bozhidar Batsov's [[https://github.com/bbatsov/super-save][super-save]] package. 1468Bozhidar Batsov's [[https://github.com/bbatsov/super-save][super-save]] package.
@@ -1647,7 +1647,7 @@ It manages my whitespace for me, anyway.
1647 (setq-default kill-do-not-save-duplicates t) 1647 (setq-default kill-do-not-save-duplicates t)
1648#+end_src 1648#+end_src
1649 1649
1650*** Kill the line if there is no region :crux: 1650*** Kill the line if there is no region :crux:
1651 1651
1652#+begin_src emacs-lisp :noweb-ref hooks 1652#+begin_src emacs-lisp :noweb-ref hooks
1653 (crux-with-region-or-line kill-ring-save) 1653 (crux-with-region-or-line kill-ring-save)
@@ -1678,7 +1678,7 @@ see also
1678 1678
1679** The Region 1679** The Region
1680 1680
1681*** Expand region :package: 1681*** Expand region :package:
1682 1682
1683#+begin_src emacs-lisp :noweb-ref packages 1683#+begin_src emacs-lisp :noweb-ref packages
1684 (straight-use-package 'expand-region) 1684 (straight-use-package 'expand-region)
@@ -1704,7 +1704,7 @@ see also
1704 (add-hook 'prog-mode-hook #'fix--goggles-mode) 1704 (add-hook 'prog-mode-hook #'fix--goggles-mode)
1705#+end_src 1705#+end_src
1706 1706
1707** Undo :package: 1707** Undo :package:
1708 1708
1709*** Undo Fu 1709*** Undo Fu
1710 1710
@@ -1742,7 +1742,7 @@ from =undo-fu=.
1742 (global-undo-fu-session-mode +1) 1742 (global-undo-fu-session-mode +1)
1743#+end_src 1743#+end_src
1744 1744
1745** Search/Replace :package: 1745** Search/Replace :package:
1746 1746
1747The /biggest/ thing I miss about my Neovim days is its ease of 1747The /biggest/ thing I miss about my Neovim days is its ease of
1748search/replace. It didn't matter where the point was in the buffer; 1748search/replace. It didn't matter where the point was in the buffer;
@@ -1764,7 +1764,7 @@ I want to search by regexp by default.
1764 (define-key acdw/map (kbd "C-M-r") #'isearch-backward) 1764 (define-key acdw/map (kbd "C-M-r") #'isearch-backward)
1765#+end_src 1765#+end_src
1766 1766
1767*** Anzu setup 1767*** Anzu setup :package:
1768 1768
1769#+begin_src emacs-lisp :noweb-ref packages 1769#+begin_src emacs-lisp :noweb-ref packages
1770 (straight-use-package 'anzu) 1770 (straight-use-package 'anzu)
@@ -1803,7 +1803,7 @@ versions, because of the regex thing.
1803 :map isearch-mode-map))) 1803 :map isearch-mode-map)))
1804#+end_src 1804#+end_src
1805 1805
1806** Commenting :crux: 1806** Commenting :crux:
1807 1807
1808I don't think the default =M-;= (=M-x comment-dwim=) binding makes sense. 1808I don't think the default =M-;= (=M-x comment-dwim=) binding makes sense.
1809I want it to comment out the region or line, or uncomment it if it's 1809I want it to comment out the region or line, or uncomment it if it's
@@ -1830,7 +1830,7 @@ already commented. That's it.
1830 1830
1831** Word count 1831** Word count
1832 1832
1833*** COMMENT WC Mode :package: 1833*** COMMENT WC Mode :package:
1834 1834
1835I'm just going to comment this out for right now because I honestly 1835I'm just going to comment this out for right now because I honestly
1836don't know if it's that useful. 1836don't know if it's that useful.
@@ -1888,7 +1888,7 @@ Let's use =hunspell=.
1888 (blackout 'flyspell-mode) 1888 (blackout 'flyspell-mode)
1889#+end_src 1889#+end_src
1890 1890
1891*** Flyspell-correct :package: 1891*** Flyspell-correct :package:
1892 1892
1893Display corrections with =completing-read=. 1893Display corrections with =completing-read=.
1894 1894
@@ -1904,7 +1904,7 @@ Display corrections with =completing-read=.
1904 1904
1905* Reading 1905* Reading
1906 1906
1907** Smooth-scrolling of images :package: 1907** Smooth-scrolling of images :package:
1908 1908
1909#+begin_src emacs-lisp :noweb-ref packages 1909#+begin_src emacs-lisp :noweb-ref packages
1910 (straight-use-package 'iscroll) 1910 (straight-use-package 'iscroll)
@@ -1971,7 +1971,7 @@ to auto-fill in programming modes, but /only/ the comments.
1971 show-paren-style 'mixed) 1971 show-paren-style 'mixed)
1972#+end_src 1972#+end_src
1973 1973
1974*** Smart parens :package: 1974*** Smart parens :package:
1975 1975
1976#+begin_src emacs-lisp :noweb-ref packages 1976#+begin_src emacs-lisp :noweb-ref packages
1977 (straight-use-package 'smartparens) 1977 (straight-use-package 'smartparens)
@@ -2018,7 +2018,7 @@ to auto-fill in programming modes, but /only/ the comments.
2018 2018
2019** Formatting 2019** Formatting
2020 2020
2021*** Aggressive indent :package: 2021*** Aggressive indent :package:
2022 2022
2023#+begin_src emacs-lisp :noweb-ref packages 2023#+begin_src emacs-lisp :noweb-ref packages
2024 (straight-use-package 'aggressive-indent) 2024 (straight-use-package 'aggressive-indent)
@@ -2202,7 +2202,7 @@ move up a directory with a keybinding, I'll change =-a= to =-A=.
2202 (acdw/bind "C-x C-j" #'dired-jump) 2202 (acdw/bind "C-x C-j" #'dired-jump)
2203#+end_src 2203#+end_src
2204 2204
2205*** Expand subtrees :package: 2205*** Expand subtrees :package:
2206 2206
2207Instead of opening each folder in its own buffer, =dired-subtree= 2207Instead of opening each folder in its own buffer, =dired-subtree=
2208enables me to open them in the same buffer, fancily indented. 2208enables me to open them in the same buffer, fancily indented.
@@ -2215,7 +2215,7 @@ enables me to open them in the same buffer, fancily indented.
2215 (acdw/bind "i" #'dired-subtree-toggle :after 'dired :map dired-mode-map) 2215 (acdw/bind "i" #'dired-subtree-toggle :after 'dired :map dired-mode-map)
2216#+end_src 2216#+end_src
2217 2217
2218*** Collapse singleton directories :package: 2218*** Collapse singleton directories :package:
2219 2219
2220If a directory only has one item in it, =dired-collapse= shows what 2220If a directory only has one item in it, =dired-collapse= shows what
2221that one item is. 2221that one item is.
@@ -2228,7 +2228,7 @@ that one item is.
2228 (add-hook 'dired-mode-hook #'dired-collapse-mode) 2228 (add-hook 'dired-mode-hook #'dired-collapse-mode)
2229#+end_src 2229#+end_src
2230 2230
2231** Git :package: 2231** Git :package:
2232 2232
2233*** Magit 2233*** Magit
2234 2234
@@ -2265,7 +2265,7 @@ true, please feel free to hack this repo and change this paragraph.
2265 (setenv "GIT_ASKPASS" "git-gui--askpass") 2265 (setenv "GIT_ASKPASS" "git-gui--askpass")
2266#+end_src 2266#+end_src
2267 2267
2268**** Forge :package: 2268**** Forge :package:
2269 2269
2270#+begin_src emacs-lisp :noweb-ref packages 2270#+begin_src emacs-lisp :noweb-ref packages
2271 (straight-use-package 'forge) 2271 (straight-use-package 'forge)
@@ -2273,7 +2273,7 @@ true, please feel free to hack this repo and change this paragraph.
2273 (require 'forge)) 2273 (require 'forge))
2274#+end_src 2274#+end_src
2275 2275
2276*** Git file modes :package: 2276*** Git file modes :package:
2277 2277
2278#+begin_src emacs-lisp :noweb-ref packages 2278#+begin_src emacs-lisp :noweb-ref packages
2279 (dolist (feat '(gitattributes-mode 2279 (dolist (feat '(gitattributes-mode
@@ -2283,7 +2283,7 @@ true, please feel free to hack this repo and change this paragraph.
2283 (require feat)) 2283 (require feat))
2284#+end_src 2284#+end_src
2285 2285
2286** Crosswords! :package: 2286** Crosswords! :package:
2287 2287
2288I love crosswords. I love Emacs. There ya go. 2288I love crosswords. I love Emacs. There ya go.
2289 2289
@@ -2346,7 +2346,7 @@ bad, to be honest. Let's change em.
2346 2346
2347See [[https://github.com/redguardtoo/mastering-emacs-in-one-year-guide/blob/master/gnus-guide-en.org][this guide]] and try it out. 2347See [[https://github.com/redguardtoo/mastering-emacs-in-one-year-guide/blob/master/gnus-guide-en.org][this guide]] and try it out.
2348 2348
2349** RSS Feeds :package: 2349** RSS Feeds :package:
2350 2350
2351*** Elfeed 2351*** Elfeed
2352 2352
@@ -2534,7 +2534,7 @@ options).
2534 #'acdw-elfeed-protocol-ttrss-update-then-reinit)) 2534 #'acdw-elfeed-protocol-ttrss-update-then-reinit))
2535#+end_src 2535#+end_src
2536 2536
2537** 0x0 (null pointer) :package: 2537** 0x0 (null pointer) :package:
2538 2538
2539An ease-of-life package that lets me upload my shitty code to share it with 2539An ease-of-life package that lets me upload my shitty code to share it with
2540others. 2540others.
@@ -2550,7 +2550,7 @@ others.
2550 2550
2551** Gemini/gopher 2551** Gemini/gopher
2552 2552
2553*** Elpher :package: 2553*** Elpher :package:
2554 2554
2555#+begin_src emacs-lisp :noweb-ref packages 2555#+begin_src emacs-lisp :noweb-ref packages
2556 (straight-use-package '(elpher 2556 (straight-use-package '(elpher
@@ -2589,7 +2589,7 @@ others.
2589 (add-hook 'elpher-mode-hook #'acdw/reading-mode) 2589 (add-hook 'elpher-mode-hook #'acdw/reading-mode)
2590#+end_src 2590#+end_src
2591 2591
2592*** Gemini-mode :package: 2592*** Gemini-mode :package:
2593 2593
2594#+begin_src emacs-lisp :noweb-ref packages 2594#+begin_src emacs-lisp :noweb-ref packages
2595 (straight-use-package '(gemini-mode 2595 (straight-use-package '(gemini-mode
@@ -2608,7 +2608,7 @@ others.
2608 '((t (:inherit (elpher-gemini-heading3))))) 2608 '((t (:inherit (elpher-gemini-heading3)))))
2609#+end_src 2609#+end_src
2610 2610
2611*** Gemini-write :package: 2611*** Gemini-write :package:
2612 2612
2613#+begin_src emacs-lisp :noweb-ref packages 2613#+begin_src emacs-lisp :noweb-ref packages
2614 (straight-use-package '(gemini-write 2614 (straight-use-package '(gemini-write
@@ -2642,7 +2642,7 @@ one day.
2642 (define-key acdw/leader "s" #'acdw/eshell-or-bury) 2642 (define-key acdw/leader "s" #'acdw/eshell-or-bury)
2643#+end_src 2643#+end_src
2644 2644
2645* Org mode :package: 2645* Org mode :package:
2646 2646
2647** Install it with =straight.el= 2647** Install it with =straight.el=
2648 2648
@@ -2668,9 +2668,9 @@ I want to use the newest version of Org that I can.
2668 org-fontify-done-headline t 2668 org-fontify-done-headline t
2669 org-fontify-quote-and-verse-blocks t 2669 org-fontify-quote-and-verse-blocks t
2670 org-src-fontify-natively t 2670 org-src-fontify-natively t
2671 org-ellipsis "" 2671 org-ellipsis "..."
2672 org-pretty-entities t 2672 org-pretty-entities t
2673 org-tags-column (- 0 fill-column -1) 2673 org-tags-column (- 0 fill-column -3)
2674 ;; Source blocks 2674 ;; Source blocks
2675 org-src-tab-acts-natively t 2675 org-src-tab-acts-natively t
2676 org-src-window-setup 'current-window ; the least stupid option 2676 org-src-window-setup 'current-window ; the least stupid option
@@ -2734,7 +2734,7 @@ from [[https://github.com/KaratasFurkan/.emacs.d#org-1][Furkan Karataş]].
2734 'append)) 2734 'append))
2735#+end_src 2735#+end_src
2736 2736
2737*** Org-appear :package: 2737*** Org-appear :package:
2738 2738
2739#+begin_src emacs-lisp :noweb-ref packages 2739#+begin_src emacs-lisp :noweb-ref packages
2740 (straight-use-package '(org-appear 2740 (straight-use-package '(org-appear
@@ -3069,7 +3069,7 @@ TODO, and Diary.
3069 3069
3070#+end_src 3070#+end_src
3071 3071
3072** Org auto tangle :package: 3072** Org auto tangle :package:
3073 3073
3074#+begin_src emacs-lisp :noweb-ref packages 3074#+begin_src emacs-lisp :noweb-ref packages
3075 (straight-use-package 'org-auto-tangle) 3075 (straight-use-package 'org-auto-tangle)
@@ -3084,7 +3084,7 @@ TODO, and Diary.
3084 (blackout 'org-auto-tangle-mode) 3084 (blackout 'org-auto-tangle-mode)
3085#+end_src 3085#+end_src
3086 3086
3087* Package management :package: 3087* Package management :package:
3088:PROPERTIES: 3088:PROPERTIES:
3089:header-args: :noweb-ref early-init-package 3089:header-args: :noweb-ref early-init-package
3090:END: 3090:END:
@@ -3198,7 +3198,7 @@ settings and written some ancillary scripts.
3198 3198
3199I'll put generic system-integrating code here. 3199I'll put generic system-integrating code here.
3200 3200
3201*** Edit with Emacs :package: 3201*** Edit with Emacs :package:
3202 3202
3203Install the [[https://addons.mozilla.org/en-US/firefox/addon/edit-with-emacs1/][Firefox Addon]] alongside this package to edit web forms in 3203Install the [[https://addons.mozilla.org/en-US/firefox/addon/edit-with-emacs1/][Firefox Addon]] alongside this package to edit web forms in
3204Emacs (or the [[https://chrome.google.com/webstore/detail/edit-with-emacs/ljobjlafonikaiipfkggjbhkghgicgoh][Chrome one]] if you... /hate/ freedom :P). 3204Emacs (or the [[https://chrome.google.com/webstore/detail/edit-with-emacs/ljobjlafonikaiipfkggjbhkghgicgoh][Chrome one]] if you... /hate/ freedom :P).