]> git.earman.xyz Git - emacsinit.git/commitdiff
Apropos full listing, C-h backspace
authorrearman <rearman@r717.net>
Wed, 5 Jun 2024 13:35:50 +0000 (09:35 -0400)
committerrearman <rearman@r717.net>
Wed, 5 Jun 2024 13:35:50 +0000 (09:35 -0400)
init.org

index 96094f26c45ae5861b91b0dfce0faca9c2ed5d3a..853faf8e627a7bef2e6926808e371879fc822f31 100644 (file)
--- 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.