diff options
author | Case Duckworth | 2021-10-20 17:31:13 -0500 |
---|---|---|
committer | Case Duckworth | 2021-10-20 17:31:13 -0500 |
commit | 0d311d36b9d5f430324d919ac097f2364588a432 (patch) | |
tree | a2e71547fac3fdeab473ca4083547b8b1dc26ed2 /TODO.org | |
parent | Move most of acdw-irc to acdw-circe (diff) | |
download | emacs-0d311d36b9d5f430324d919ac097f2364588a432.tar.gz emacs-0d311d36b9d5f430324d919ac097f2364588a432.zip |
blayfduoisaudfoiasdupjfoiu
Diffstat (limited to 'TODO.org')
-rw-r--r-- | TODO.org | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/TODO.org b/TODO.org index 1759aca..bd146a8 100644 --- a/TODO.org +++ b/TODO.org | |||
@@ -215,3 +215,16 @@ https://tildegit.org/acdw/emacs/src/branch/main/init.el#L1166, e.g. | |||
215 | It adds one for blank lines. | 215 | It adds one for blank lines. |
216 | 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]] | 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 | ||