diff options
Diffstat (limited to 'TODO.org')
-rw-r--r-- | TODO.org | 230 |
1 files changed, 0 insertions, 230 deletions
diff --git a/TODO.org b/TODO.org deleted file mode 100644 index bd146a8..0000000 --- a/TODO.org +++ /dev/null | |||
@@ -1,230 +0,0 @@ | |||
1 | #+TITLE: TODO stuff for emacs config | ||
2 | #+SUBTITLE: Yes I have one of these… | ||
3 | #+AUTHOR: Case Duckworth | ||
4 | |||
5 | * Packages | ||
6 | |||
7 | ** DONE insert-kaomoji | ||
8 | |||
9 | - [X] Add =(¬‿¬)═ɜ ɛ═(⌐‿⌐ )= to list | ||
10 | - [X] and =▬▬▬▬▬▬▬▋ Ò╭╮Ó= | ||
11 | - [X] Clean up code and package it properly | ||
12 | |||
13 | *** DONE FIX the damn thing Ò╭╮Ó | ||
14 | |||
15 | I just have to make sure it's loading correctly in my own config… bleh | ||
16 | |||
17 | - and add: | ||
18 | - [X] =ヽ(°〇°)ノ= | ||
19 | - [X] =୧((#Φ益Φ#))୨= | ||
20 | - [X] =(╥﹏╥)= | ||
21 | - [X] =Σ ◕ ◡ ◕= | ||
22 | - [X] =╭∩╮(︶_︶)╭∩╮= | ||
23 | - [X] =(งツ)ว= | ||
24 | - [X] =ʕ ᴖᴥᴖʔ= | ||
25 | |||
26 | ** TODO =append-scratch= mode or something | ||
27 | |||
28 | - save the scratch buffer at times (see [[https://github.com/Fanael/persistent-scratch][GitHub - Fanael/persistent-scratch]], | ||
29 | [[https://umarahmad.xyz/blog/quick-scratch-buffers/][Quick persistent scratch buffers]]), but *IMPORTANTLY* | ||
30 | + append-only to persistent file | ||
31 | + have a keybinding to save buffer to file, then clear buffer | ||
32 | + =persistent-scratch-save-to-file= ? | ||
33 | |||
34 | - *NO WAIT* just add a function to interface with the previous scratch buffers. | ||
35 | |||
36 | ** TODO keep-acs (name?) | ||
37 | |||
38 | - keepassxc-cli | ||
39 | - interface with emacs | ||
40 | - plug into =auth-sources= | ||
41 | |||
42 | ** TODO banish-mouse-x | ||
43 | |||
44 | allow more configuration of where the mouse goes: | ||
45 | |||
46 | - '(banish . corner) | ||
47 | - '(banish . (x . y)) | ||
48 | - … | ||
49 | |||
50 | ** TODO add functionality to =electric-cursor-mode= | ||
51 | |||
52 | - Enable idle cursor changing, dependent on mode | ||
53 | - see [[https://www.emacswiki.org/emacs/cursor-chg.el][cursor-chg.el]] | ||
54 | |||
55 | * Configuring | ||
56 | |||
57 | ** DONE Install =el-patch=? | ||
58 | |||
59 | ** DONE Look at [[https://gitlab.com/ideasman42/emacs-mode-line-idle][ideasman42 / emacs-mode-line-idle]] | ||
60 | |||
61 | ** TODO Look into =which-key= [[https://github.com/justbur/emacs-which-key#2017-12-13-added-which-key-enable-extended-define-key][bind naming]] | ||
62 | |||
63 | ** TODO Look at [[https://github.com/karthink/.emacs.d/blob/master/lisp/setup-icomplete.el#L768][embark-complete setup]] | ||
64 | |||
65 | from karthink (and prot) | ||
66 | |||
67 | ** TODO [[https://github.com/ahungry/md4rd][md4rd]] | ||
68 | |||
69 | ** DONE [[https://github.com/gRastello/ytel][ytel]] | ||
70 | |||
71 | ** TODO [[https://passionsplay.com/blog/create-minimal-emacs-environments-with-a-shell-script/][Create Minimal Emacs Environments with a Shell Script]] | ||
72 | |||
73 | ** DONE Twitch IRC | ||
74 | |||
75 | - [[https://gist.github.com/hunterbridges/ab095066d40f2e1a243e][How to connect to Twitch with an IRC client (As of Oct 2015) · GitHub]] | ||
76 | - irc.twitch.tv | ||
77 | |||
78 | ** TODO Figuire out “boring”-aware =consult-buffer= | ||
79 | |||
80 | - call boring-aware with =C-x b= | ||
81 | - call normal with =C-u C-x b= | ||
82 | - look at =consult--source-buffer= and define one there | ||
83 | |||
84 | ** TODO Fix =title-case= to work with “hard” spaces | ||
85 | |||
86 | e.g., “A gold watch” title-cases to “A gold Watch” | ||
87 | |||
88 | * Productivity | ||
89 | |||
90 | ** TODO LOOK AT [[https://github.com/odeke-em/drive][DRIVE]] | ||
91 | |||
92 | - google drive go client | ||
93 | - can pull to txt/docx/whatev | ||
94 | - can =drive push -convert= to docs format | ||
95 | - :OOOOOO this would be HOUGHE | ||
96 | |||
97 | ** TODO Set up Org Capture | ||
98 | |||
99 | *** Inspo: From wsinatra | ||
100 | |||
101 | #+begin_src emacs-lisp | ||
102 | ;; Custom capture templates | ||
103 | (setq org-capture-templates | ||
104 | '(("t" "Todo" entry (file org-default-notes-file) | ||
105 | "* TODO %?\n%u\n%a\n" | ||
106 | :clock-in t :clock-resume t) | ||
107 | ("e" "Event" entry (file org-default-notes-file) | ||
108 | "* EVENT %? :EVENT:\n%t" | ||
109 | :clock-in t :clock-resume t) | ||
110 | ("i" "Idea" entry (file org-default-notes-file) | ||
111 | "* %? :IDEA: \n%t" | ||
112 | :clock-in t :clock-resume t) | ||
113 | ("p" "Project" | ||
114 | entry (file org-default-notes-file) | ||
115 | "* PROJ %?\n%u\n%a\n" | ||
116 | :clock-in t :clock-resume t) | ||
117 | ("n" "Next Task" | ||
118 | entry (file+headline org-default-notes-file "Tasks") | ||
119 | "** NEXT %? \nDEADLINE: %t"))) | ||
120 | #+end_src | ||
121 | |||
122 | *** Also cf. [[https://blog.jethro.dev/posts/org_mode_workflow_preview/][Org-mode Workflow: A Preview · Jethro Kuan]] | ||
123 | |||
124 | * Buffer display stuff | ||
125 | |||
126 | #+begin_src emacs-lisp | ||
127 | ;; from alphapapa | ||
128 | (cl-defun ap/display-buffer-in-side-window (&optional (buffer (current-buffer))) | ||
129 | "Display BUFFER in dedicated side window." | ||
130 | (interactive) | ||
131 | (let ((display-buffer-mark-dedicated t)) | ||
132 | (display-buffer-in-side-window buffer | ||
133 | '((side . right) | ||
134 | (window-parameters | ||
135 | (no-delete-other-windows . t)))))) | ||
136 | #+end_src | ||
137 | |||
138 | - [[https://old.reddit.com/r/emacs/comments/pka1sm/my_first_package_aside_for_easier_configuration/][My first package: Aside, for easier configuration and use of side windows : | ||
139 | emacs]] | ||
140 | - [[https://github.com/alphapapa/burly.el][GitHub - alphapapa/burly.el: Save and restore frames and windows with their | ||
141 | buffers in Emacs]] | ||
142 | - [[https://depp.brause.cc/shackle/][shackle: Enforce rules for popup windows]] | ||
143 | - [[https://github.com/kaushalmodi/.emacs.d/blob/master/setup-files/setup-shackle.el][.emacs.d/setup-shackle.el at master · kaushalmodi/.emacs.d · GitHub]] | ||
144 | - [[https://www.reddit.com/r/emacs/comments/3icpv8/help_with_shackle_configuration/][help with shackle configuration : emacs]] | ||
145 | - [[https://mullikine.github.io/posts/making-shackle-split-sensibly/][Sensible Splits: Extending shackle.el // Bodacious Blog]] | ||
146 | - [[https://news.ycombinator.com/item?id=18598863][Oh man, your link led me to shackle[1] to make transient buffers behave and | ||
147 | I ha... | Hacker News]] | ||
148 | - [[https://emacsninja.com/posts/design-is-hard.html][Emacs Ninja - Design Is Hard]] | ||
149 | - Alternatively: [[https://web.archive.org/web/20160409014815/https://www.lunaryorn.com/2015/04/29/the-power-of-display-buffer-alist.html][Emacs Spotlight: Configure buffer display - Emacs. What else?]] | ||
150 | |||
151 | * Random shit | ||
152 | |||
153 | ** A way to map over buffers | ||
154 | |||
155 | #+begin_src emacs-lisp | ||
156 | (dolist (buf (mapcan | ||
157 | (lambda (buf) | ||
158 | (with-current-buffer buf | ||
159 | (circe-server-chat-buffers))) | ||
160 | (circe-server-buffers))) | ||
161 | (with-current-buffer buf ;; whatever u wanna do on each buffer goes here | ||
162 | (lui-set-prompt (concat | ||
163 | (propertize | ||
164 | (acdw-irc/margin-format (buffer-name) | ||
165 | "" | ||
166 | ">") | ||
167 | 'face 'circe-prompt-face | ||
168 | 'read-only t | ||
169 | 'intangible t | ||
170 | 'cursor-intangible t) | ||
171 | " ")) | ||
172 | (setq-local fringes-outside-margins t | ||
173 | right-margin-width 5 | ||
174 | scroll-margin 0 | ||
175 | word-wrap t | ||
176 | wrap-prefix (repeat-string acdw-irc/left-margin " ") | ||
177 | line-number-mode nil))) | ||
178 | #+end_src | ||
179 | |||
180 | ** ZNC Connecting (from #systemcrafters) | ||
181 | |||
182 | #+begin_quote | ||
183 | daviwil | minikN: I connect to the hostname/port of my ZNC server, but the | ||
184 | trick is that the username is the nick you want to use on the | ||
185 | server and the password is your znc username and password joined | ||
186 | with a colon, like daviwil:b4dp4ssw0rd | ||
187 | minikN | so you don't specify the network in your password? like | ||
188 | user/network:password? | ||
189 | benoitj | daviwil: nice password you have there | ||
190 | daviwil | minikN: nope, I only have one network anyway | ||
191 | - acdw > daviwil: I just see ******* | ||
192 | benoitj | I use two networks | ||
193 | #+end_quote | ||
194 | |||
195 | ** Teach =link-hint= about =lui-buttons= | ||
196 | |||
197 | See =lui-next-button-or-complete=, etc. Also possibly: | ||
198 | - [[https://github.com/abo-abo/avy/issues/255][Feature request: ability to select objects in overlays · Issue #255 · abo-abo/avy · GitHub]] | ||
199 | - [[https://github.com/noctuid/link-hint.el/issues/24][Enhancement: Detect links in overlays · Issue #24 · noctuid/link-hint.el · | ||
200 | GitHub]] | ||
201 | |||
202 | |||
203 | (I /think/ a button is an overlay….) | ||
204 | |||
205 | ** Write =self-promote-shamelessly= function | ||
206 | |||
207 | Link to the line of a file on a git forge with a command, for linking. | ||
208 | |||
209 | https://tildegit.org/acdw/emacs/src/branch/main/init.el#L1166, e.g. | ||
210 | |||
211 | - *OR* install this: [[https://github.com/sshaw/git-link][GitHub - sshaw/git-link: Emacs package to get the GitHub/Bitbucket/GitLab/... URL for a buffer location]] | ||
212 | |||
213 | ** DONE Fix =acdw-org/count-words-stupidly= | ||
214 | |||
215 | It adds one for blank lines. | ||
216 | |||
217 | ** TODO [[https://stackoverflow.com/questions/25161792/emacs-org-mode-how-can-i-fold-everything-but-the-current-headline][Org mode hide all but current heading]] | ||
218 | |||
219 | ** Work around =C-m=, =RET=, etc | ||
220 | |||
221 | #+begin_src emacs-lisp | ||
222 | ;; from artefact | ||
223 | |||
224 | (define-key key-translation-map (kbd "<return>") nil) | ||
225 | (define-key key-translation-map (kbd "C-m") nil) | ||
226 | (define-key key-translation-map (kbd "RET") nil) | ||
227 | (global-set-key (kbd "<return>") 'newline) | ||
228 | (define-key erc-mode-map (kbd "<return>") 'erc-send-current-line) | ||
229 | (global-set-key (kbd "C-m") (lambda () (interactive) (message "hello from C-m"))) | ||
230 | #+end_src | ||