this post was submitted on 15 Apr 2023
1 points (100.0% liked)

xq_icebreaker

1 readers
0 users here now

iq-rq_knowledge-management

https://matrix.to/#/#xq_icebreaker:matrix.org

https://matrix.to/#/#xq-oqo_icebreaker:matrix.org

https://social.coop/@indieterminacy

https://git.sr.ht/~indieterminacy

founded 2 years ago
MODERATORS
1
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
 

James Dyer has a useful short post on indexing his init.el file. His scheme is simple. His init.el is broken into sections each of which starts with:

;;
;; -> Section-name
;;

Then he used occur to generate the actual index. Rather than call occur each time with the need to provide the regex, he wrote a 4-line function that does it for him. He doesn’t say whether he bound it to a key sequence but that, of course, is trivial.

...

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here