summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--README.md40
1 files changed, 25 insertions, 15 deletions
diff --git a/README.md b/README.md index 6e45992..0473400 100644 --- a/README.md +++ b/README.md
@@ -150,15 +150,18 @@ Let's try to speed startup times by increasing the garbage collector's threshold
150When using Windows (at work), I need to use the PortableGit installation I've downloaded, since I don't have Admin privileges. 150When using Windows (at work), I need to use the PortableGit installation I've downloaded, since I don't have Admin privileges.
151 151
152 (when (eq system-type 'windows-nt) 152 (when (eq system-type 'windows-nt)
153 (dolist (path '("C:/Users/aduckworth/Downloads/PortableGit/bin" 153 (dolist (path '("c:/Users/aduckworth/Downloads/emacs/bin"
154 "C:/Users/aduckworth/Downloads/PortableGit/bin"
154 "C:/Users/aduckworth/Downloads/PortableGit/usr/bin")) 155 "C:/Users/aduckworth/Downloads/PortableGit/usr/bin"))
155 (add-to-list 'exec-path path))) 156 (add-to-list 'exec-path path)))
156 157
157Elsewhere, I want to add a few more paths to the `exec-path` as well, since I store scripts in a couple of places at ~. 158Elsewhere, I want to add a few more paths to the `exec-path` as well, since I store scripts in a couple of places at ~.
158 159
159 (dolist (path '("~/bin" 160 (dolist (path `(,(expand-file-name "bin"
160 "~/.local/bin" 161 user-emacs-directory)
161 "~/Scripts")) 162 ,(expand-file-name "~/bin")
163 ,(expand-file-name "~/.local/bin")
164 ,(expand-file-name "~/Scripts")))
162 (add-to-list 'exec-path path)) 165 (add-to-list 'exec-path path))
163 166
164 167
@@ -306,7 +309,7 @@ I also want to switch themes between night and day.
306# Simplify GUI 309# Simplify GUI
307 310
308 311
309<a id="orga685025"></a> 312<a id="org6553b8c"></a>
310 313
311## Frame defaults 314## Frame defaults
312 315
@@ -337,7 +340,7 @@ Of course, on the minibuffer, I want to make sure there's no scrollbar &#x2013;
337 340
338## Remove unneeded GUI elements 341## Remove unneeded GUI elements
339 342
340The [Frame Defaults](#orga685025) section sets up the frame to be free of visual clutter, but *this* section allows us to toggle that clutter's visibility easily, with one call to each of these functions. 343The [Frame Defaults](#org6553b8c) section sets up the frame to be free of visual clutter, but *this* section allows us to toggle that clutter's visibility easily, with one call to each of these functions.
341 344
342 (menu-bar-mode -1) 345 (menu-bar-mode -1)
343 (tool-bar-mode -1) 346 (tool-bar-mode -1)
@@ -353,8 +356,6 @@ I'm kind of getting into Emacs tabs &#x2013; but I like not showing the `tab-bar
353 356
354 (cuss tab-bar-tab-name-function 'tab-bar-tab-name-current-with-count) 357 (cuss tab-bar-tab-name-function 'tab-bar-tab-name-current-with-count)
355 358
356 (tab-bar-mode 1)
357
358 359
359## Word wrap and operate visually 360## Word wrap and operate visually
360 361
@@ -928,11 +929,17 @@ Center the text part of the frame within a `fill-column`-sized area in the frame
928 929
929In `visual-fill-column-mode`, mouse bindings on the margins don't work. In fact, they don't work when *not* in `visual-fill-column-mode`. Let's bind those bindings. 930In `visual-fill-column-mode`, mouse bindings on the margins don't work. In fact, they don't work when *not* in `visual-fill-column-mode`. Let's bind those bindings.
930 931
931 (bind-key [left-margin wheel-down] 'scroll-down-command) 932 (dolist (vec '([left-margin wheel-down]
932 (bind-key [right-margin wheel-down] 'scroll-down-command) 933 [left-margin mouse-5]
934 [right-margin wheel-down]
935 [right-margin mouse-5]))
936 (bind-key vec 'scroll-down-command))
933 937
934 (bind-key [left-margin wheel-up] 'scroll-up-command) 938 (dolist (vec '([left-margin wheel-up]
935 (bind-key [right-margin wheel-up] 'scroll-up-command) 939 [left-margin mouse-4]
940 [right-margin wheel-up]
941 [right-margin mouse-4]))
942 (bind-key vec 'scroll-up-command))
936 943
937 944
938## [org-mode](https://orgmode.org/) 945## [org-mode](https://orgmode.org/)
@@ -1437,8 +1444,8 @@ Alex Schroeder's Emacs implementation of the Titan protocol. This is why I use
1437 :repo "https://alexschroeder.ch/cgit/gemini-write") 1444 :repo "https://alexschroeder.ch/cgit/gemini-write")
1438 :config 1445 :config
1439 (when (boundp 'acdw-secrets/elpher-gemini-tokens) 1446 (when (boundp 'acdw-secrets/elpher-gemini-tokens)
1440 (add-to-list 'elpher-gemini-tokens 1447 (dolist (token acdw-secrets/elpher-gemini-tokens)
1441 acdw-secrets/elpher-gemini-tokens))) 1448 (add-to-list 'elpher-gemini-tokens token))))
1442 1449
1443 1450
1444### [post-to-gemlog-blue](https://git.sr.ht/~acdw/post-to-gemlog-blue.el) 1451### [post-to-gemlog-blue](https://git.sr.ht/~acdw/post-to-gemlog-blue.el)
@@ -1539,7 +1546,10 @@ I've just recently started (again) using mu4e. We'll see how it goes.
1539 :branch "main")) 1546 :branch "main"))
1540 1547
1541 1548
1542# Appendix A: `emacsdc` script 1549# Appendix A: Scripts
1550
1551
1552## `emacsdc`
1543 1553
1544Here's a wrapper script that'll start `emacs --daemon` if there isn't one, and then launche `emacsclient` on the arguments. I'd recommend installing with `ln -s emacsdc ~/.local/bin/` or something. Then you can set it as your `$EDITOR`! 1554Here's a wrapper script that'll start `emacs --daemon` if there isn't one, and then launche `emacsclient` on the arguments. I'd recommend installing with `ln -s emacsdc ~/.local/bin/` or something. Then you can set it as your `$EDITOR`!
1545 1555