diff options
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 | ||