From 664977b6625e02306e516ff31d8216ab50a06e74 Mon Sep 17 00:00:00 2001 From: rearman Date: Wed, 5 Jun 2024 09:35:50 -0400 Subject: [PATCH] Apropos full listing, C-h backspace --- init.org | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/init.org b/init.org index 96094f2..853faf8 100644 --- a/init.org +++ b/init.org @@ -285,6 +285,11 @@ I want these things every time, or at least setting them this way worked when a cursor-type 'bar cursor-in-non-selected-windows 'hollow) #+END_SRC +*** Help +Set up apropos to be more useful +#+BEGIN_SRC emacs-lisp +(setq apropos-do-all t) +#+END_SRC *** UTF-8 Force emacs to use UTF-8 so I avoid prompts on save @@ -620,8 +625,8 @@ Bind =C-z= to zap-up-to-char, sice zap-to-char is on =M-z=. #+BEGIN_SRC emacs-lisp (keymap-global-set "C-z" 'zap-up-to-char) #+END_SRC -***** UNIX C-w and C-u -=C-w= is very much engrained for killing back one word, as is =C-u= for killing back to the beginning of the line. [[http://unix-kb.cat-v.org/][These have been standard bindings since TENEX...]] +***** UNIX C-w, C-u, and C-h +=C-w= is very much engrained for killing back one word, as is =C-u= for killing back to the beginning of the line, and =C-h= for one character back. [[http://unix-kb.cat-v.org/][These have been standard bindings since TENEX...]] ****** =C-w= I didn't want to re-bind =C-w= away from =kill-region=, so I made it do both. @@ -654,6 +659,12 @@ Since =C-u= is =universal-argument=, I put that functionality on =M-'=. (keymap-global-set "M-'" 'universal-argument) #+END_SRC +****** =C-h= +We already have =F1= for help. +#+BEGIN_SRC emacs-lisp +(keyboard-translate ?\C-h ?\C-?) +#+END_SRC + **** Moving ***** Home/End I want =Home= and =End= to take me to the top and bottom of the file. -- 2.39.5