From 60581811094c12fdd9b0896c640aeb08d4ebe682 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 22 Feb 2021 09:46:35 -0600 Subject: Change org-ellipsis and re-align tags --- config.org | 96 +++++++++++++++++++++++++++++++------------------------------- 1 file 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 even-window-sizes nil) #+end_src -*** Switch to other window or buffer :crux: +*** Switch to other window or buffer :crux: #+begin_src emacs-lisp :noweb-ref bindings (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 (add-hook 'kill-buffer-query-functions #'immortal-scratch) #+end_src -*** An /even better/ scratch buffer :package: +*** An /even better/ scratch buffer :package: The aptly-named =scratch= pops open a new scratch buffer /with the same mode as the file you're currently editing/. I'm pretty chuffed about @@ -395,7 +395,7 @@ underline below all the text. (setq-default x-underline-at-descent-line t) #+end_src -*** Unicode fonts :package: +*** Unicode fonts :package: =unicode-fonts= pulls in some other packages that still require the deprecated =cl= library. So, I've forked those libraries to require @@ -487,7 +487,7 @@ issue. (add-hook 'after-make-frame-functions #'hook--unicode-fonts-setup) #+end_src -*** Draw form-feeds (=^L=) properly :package: +*** Draw form-feeds (=^L=) properly :package: #+begin_src emacs-lisp :noweb-ref packages (straight-use-package 'form-feed) @@ -500,7 +500,7 @@ issue. ** Theming -*** Modus themes :package: +*** Modus themes :package: I want the git version. @@ -552,7 +552,7 @@ I want the git version. *** Mode line -**** Minions mode :package: +**** Minions mode :package: #+begin_src emacs-lisp :noweb-ref packages (straight-use-package 'minions) @@ -563,7 +563,7 @@ I want the git version. (minions-mode +1) #+end_src -**** COMMENT Simple modeline :package: +**** COMMENT Simple modeline :package: After trying =doom-mode-line= and =smart-mode-line=, I think I've finally landed 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 'font-lock-face 'font-lock-variable-name-face)))) #+end_src -**** Blackout some modes :package: +**** Blackout some modes :package: Like =diminish= or =delight=, =blackout= allows me to remove some minor-modes from the modeline. @@ -749,7 +749,7 @@ Shows where we are in the modeline. (which-function-mode +1) #+end_src -**** COMMENT Nyan mode :package: +**** COMMENT Nyan mode :package: +Fuck it, let's have some fun.+ COMMENTED out because it messes up my modeline :( @@ -885,7 +885,7 @@ to /hide/ those contents. read-file-name-completion-ignore-case t) #+end_src -*** COMMENT Selectrum :package: +*** COMMENT Selectrum :package: *COMMENT 2021-02-01*: For some reason, selectrum will randomly do a thing where it, 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. (selectrum-mode +1) #+end_src -*** COMMENT Prescient :package: +*** COMMENT Prescient :package: #+begin_src emacs-lisp :noweb-ref packages (straight-use-package 'prescient) @@ -970,7 +970,7 @@ Let's have =prescient= and =selectrum= work together. (icomplete-vertical-mode +1) #+end_src -*** Orderless :package: +*** Orderless :package: #+begin_src emacs-lisp :noweb-ref packages (straight-use-package 'orderless) @@ -982,7 +982,7 @@ Let's have =prescient= and =selectrum= work together. completion-styles '(orderless)) #+end_src -*** Consult :package: +*** Consult :package: #+begin_src emacs-lisp :noweb-ref modes (straight-use-package 'consult) @@ -1034,7 +1034,7 @@ default completion system. These all come from the [[https://github.com/minad/c register-preview-function #'consult-register-preview) #+end_src -*** Marginalia :package: +*** Marginalia :package: Finally, =marginalia= provides extra information about completion candidates. @@ -1181,7 +1181,7 @@ generally use it as a leader for entering applications. (run-hooks 'acdw/leader-defined-hook) #+end_src -*** Show keybindings with =which-key= :package: +*** Show keybindings with =which-key= :package: #+begin_src emacs-lisp :noweb-ref packages (straight-use-package 'which-key) @@ -1211,7 +1211,7 @@ for a program that values freedom so much. (setq-default disabled-command-function nil) #+end_src -** CRUX :package:crux: +** CRUX :package:crux: A collection of generally-useful functions that I don't want to bother including here myself. This is kind of an experiment, to be honest. @@ -1338,7 +1338,7 @@ the user is looking at something else. ** Garbage collection -*** COMMENT Garbage Collection Magic Hack :package: +*** COMMENT Garbage Collection Magic Hack :package: Look, I'm not going to look too deeply into this. It's /magic/ afer all. @@ -1433,7 +1433,7 @@ Notepad can handle UNIX line endings, so I don't want to hear it. (add-hook 'before-save-hook #'ewiki/no-junk-please-were-unixish) #+end_src -** Keep =~/.emacs.d= clean :package: +** Keep =~/.emacs.d= clean :package: #+begin_src emacs-lisp :noweb-ref packages :noweb yes (straight-use-package 'no-littering) @@ -1462,7 +1462,7 @@ Notepad can handle UNIX line endings, so I don't want to hear it. `((".*" . ,dir)))) #+end_src -** Autosaves :package: +** Autosaves :package: I don't use the =auto-save= system, preferring instead to use Bozhidar Batsov's [[https://github.com/bbatsov/super-save][super-save]] package. @@ -1647,7 +1647,7 @@ It manages my whitespace for me, anyway. (setq-default kill-do-not-save-duplicates t) #+end_src -*** Kill the line if there is no region :crux: +*** Kill the line if there is no region :crux: #+begin_src emacs-lisp :noweb-ref hooks (crux-with-region-or-line kill-ring-save) @@ -1678,7 +1678,7 @@ see also ** The Region -*** Expand region :package: +*** Expand region :package: #+begin_src emacs-lisp :noweb-ref packages (straight-use-package 'expand-region) @@ -1704,7 +1704,7 @@ see also (add-hook 'prog-mode-hook #'fix--goggles-mode) #+end_src -** Undo :package: +** Undo :package: *** Undo Fu @@ -1742,7 +1742,7 @@ from =undo-fu=. (global-undo-fu-session-mode +1) #+end_src -** Search/Replace :package: +** Search/Replace :package: The /biggest/ thing I miss about my Neovim days is its ease of search/replace. It didn't matter where the point was in the buffer; @@ -1764,7 +1764,7 @@ I want to search by regexp by default. (define-key acdw/map (kbd "C-M-r") #'isearch-backward) #+end_src -*** Anzu setup +*** Anzu setup :package: #+begin_src emacs-lisp :noweb-ref packages (straight-use-package 'anzu) @@ -1803,7 +1803,7 @@ versions, because of the regex thing. :map isearch-mode-map))) #+end_src -** Commenting :crux: +** Commenting :crux: I don't think the default =M-;= (=M-x comment-dwim=) binding makes sense. I want it to comment out the region or line, or uncomment it if it's @@ -1830,7 +1830,7 @@ already commented. That's it. ** Word count -*** COMMENT WC Mode :package: +*** COMMENT WC Mode :package: I'm just going to comment this out for right now because I honestly don't know if it's that useful. @@ -1888,7 +1888,7 @@ Let's use =hunspell=. (blackout 'flyspell-mode) #+end_src -*** Flyspell-correct :package: +*** Flyspell-correct :package: Display corrections with =completing-read=. @@ -1904,7 +1904,7 @@ Display corrections with =completing-read=. * Reading -** Smooth-scrolling of images :package: +** Smooth-scrolling of images :package: #+begin_src emacs-lisp :noweb-ref packages (straight-use-package 'iscroll) @@ -1971,7 +1971,7 @@ to auto-fill in programming modes, but /only/ the comments. show-paren-style 'mixed) #+end_src -*** Smart parens :package: +*** Smart parens :package: #+begin_src emacs-lisp :noweb-ref packages (straight-use-package 'smartparens) @@ -2018,7 +2018,7 @@ to auto-fill in programming modes, but /only/ the comments. ** Formatting -*** Aggressive indent :package: +*** Aggressive indent :package: #+begin_src emacs-lisp :noweb-ref packages (straight-use-package 'aggressive-indent) @@ -2202,7 +2202,7 @@ move up a directory with a keybinding, I'll change =-a= to =-A=. (acdw/bind "C-x C-j" #'dired-jump) #+end_src -*** Expand subtrees :package: +*** Expand subtrees :package: Instead of opening each folder in its own buffer, =dired-subtree= enables 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. (acdw/bind "i" #'dired-subtree-toggle :after 'dired :map dired-mode-map) #+end_src -*** Collapse singleton directories :package: +*** Collapse singleton directories :package: If a directory only has one item in it, =dired-collapse= shows what that one item is. @@ -2228,7 +2228,7 @@ that one item is. (add-hook 'dired-mode-hook #'dired-collapse-mode) #+end_src -** Git :package: +** Git :package: *** Magit @@ -2265,7 +2265,7 @@ true, please feel free to hack this repo and change this paragraph. (setenv "GIT_ASKPASS" "git-gui--askpass") #+end_src -**** Forge :package: +**** Forge :package: #+begin_src emacs-lisp :noweb-ref packages (straight-use-package 'forge) @@ -2273,7 +2273,7 @@ true, please feel free to hack this repo and change this paragraph. (require 'forge)) #+end_src -*** Git file modes :package: +*** Git file modes :package: #+begin_src emacs-lisp :noweb-ref packages (dolist (feat '(gitattributes-mode @@ -2283,7 +2283,7 @@ true, please feel free to hack this repo and change this paragraph. (require feat)) #+end_src -** Crosswords! :package: +** Crosswords! :package: I love crosswords. I love Emacs. There ya go. @@ -2346,7 +2346,7 @@ bad, to be honest. Let's change em. See [[https://github.com/redguardtoo/mastering-emacs-in-one-year-guide/blob/master/gnus-guide-en.org][this guide]] and try it out. -** RSS Feeds :package: +** RSS Feeds :package: *** Elfeed @@ -2534,7 +2534,7 @@ options). #'acdw-elfeed-protocol-ttrss-update-then-reinit)) #+end_src -** 0x0 (null pointer) :package: +** 0x0 (null pointer) :package: An ease-of-life package that lets me upload my shitty code to share it with others. @@ -2550,7 +2550,7 @@ others. ** Gemini/gopher -*** Elpher :package: +*** Elpher :package: #+begin_src emacs-lisp :noweb-ref packages (straight-use-package '(elpher @@ -2589,7 +2589,7 @@ others. (add-hook 'elpher-mode-hook #'acdw/reading-mode) #+end_src -*** Gemini-mode :package: +*** Gemini-mode :package: #+begin_src emacs-lisp :noweb-ref packages (straight-use-package '(gemini-mode @@ -2608,7 +2608,7 @@ others. '((t (:inherit (elpher-gemini-heading3))))) #+end_src -*** Gemini-write :package: +*** Gemini-write :package: #+begin_src emacs-lisp :noweb-ref packages (straight-use-package '(gemini-write @@ -2642,7 +2642,7 @@ one day. (define-key acdw/leader "s" #'acdw/eshell-or-bury) #+end_src -* Org mode :package: +* Org mode :package: ** Install it with =straight.el= @@ -2668,9 +2668,9 @@ I want to use the newest version of Org that I can. org-fontify-done-headline t org-fontify-quote-and-verse-blocks t org-src-fontify-natively t - org-ellipsis "…" + org-ellipsis "..." org-pretty-entities t - org-tags-column (- 0 fill-column -1) + org-tags-column (- 0 fill-column -3) ;; Source blocks org-src-tab-acts-natively t 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ş]]. 'append)) #+end_src -*** Org-appear :package: +*** Org-appear :package: #+begin_src emacs-lisp :noweb-ref packages (straight-use-package '(org-appear @@ -3069,7 +3069,7 @@ TODO, and Diary. #+end_src -** Org auto tangle :package: +** Org auto tangle :package: #+begin_src emacs-lisp :noweb-ref packages (straight-use-package 'org-auto-tangle) @@ -3084,7 +3084,7 @@ TODO, and Diary. (blackout 'org-auto-tangle-mode) #+end_src -* Package management :package: +* Package management :package: :PROPERTIES: :header-args: :noweb-ref early-init-package :END: @@ -3198,7 +3198,7 @@ settings and written some ancillary scripts. I'll put generic system-integrating code here. -*** Edit with Emacs :package: +*** Edit with Emacs :package: Install the [[https://addons.mozilla.org/en-US/firefox/addon/edit-with-emacs1/][Firefox Addon]] alongside this package to edit web forms in Emacs (or the [[https://chrome.google.com/webstore/detail/edit-with-emacs/ljobjlafonikaiipfkggjbhkghgicgoh][Chrome one]] if you... /hate/ freedom :P). -- cgit 1.4.1-21-gabe81