From ad2bd17dcfb0b57bc0fef31536a1b25e129d0bea Mon Sep 17 00:00:00 2001 From: rearman Date: Wed, 15 Mar 2023 17:20:03 -0400 Subject: [PATCH] Formatting changes, attempt to make =C-'= display properly --- init.org | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/init.org b/init.org index 7f5ee73..4c45f56 100644 --- a/init.org +++ b/init.org @@ -461,7 +461,7 @@ Just some basic stuff. I don't think I've seen too many configs that don't have *** Bindings -The usual bindings, aside from my special case of using =C-'= in place of =C-u=. I have unbound =C-'= in org-mode. +The usual bindings, aside from my special case of using =C-'\= in place of =C-u=. I have unbound =C-'= in org-mode. #+BEGIN_SRC emacs-lisp (global-set-key (kbd "C-c l") 'org-store-link) @@ -519,7 +519,10 @@ Capture Templates per my proclivities. *** Auto-archive -A function to automatically archive *DONE* items in an org file. I use this as an after-save-hook header declaration as such: =\-\*\- after-save-hook: (org-auto-archive) \-\*\-= +A function to automatically archive *DONE* items in an org file. I use this as an after-save-hook header declaration as such: +#+BEGIN_SRC emacs-lisp :tangle no +-*- after-save-hook: (org-auto-archive) -*- +#+END_SRC Also add that defun to =safe-local-variables= so that emacs will run it. @@ -773,7 +776,7 @@ There is no pre-made function to kill backward to the beginning of line from poi (global-set-key (kbd "C-u")'backward-kill-line) #+END_SRC -Since =C-u= is =universal-argument=, I put that functionality on =C-\'=. +Since =C-u= is =universal-argument=, I put that functionality on =C-'\=. #+BEGIN_SRC emacs-lisp (global-set-key (kbd "C-'") 'universal-argument) @@ -890,7 +893,7 @@ Use this when aveva can't find ass with both hands." *** Math General Math defuns, often used in later defuns. -I'm tired of writing out =\'expt=, and I want to use the same notation every other programming language does. +I'm tired of writing out =expt=, and I want to use the same notation every other programming language does. #+BEGIN_SRC emacs-lisp (defalias '^ 'expt) #+END_SRC -- 2.39.5