abo-abo / oremacs

My Emacs config
https://oremacs.com/
296 stars 33 forks source link

How to switch C-h back to C-p? #7

Closed toinfty closed 7 years ago

toinfty commented 7 years ago

Dear abo-abo,

I watched some of your Youtube videos and then come to your configurations from the vanilla emacs. I am not quite used to the C-h in your configuration, is there any switch in your configuration to map C-h back to C-p ?

Best,

abo-abo commented 7 years ago

You can do it like this:

(keyboard-translate ?\C-h ?\C-h)
(keyboard-translate ?\C-p ?\C-p)
toinfty commented 7 years ago

I add the two lines to keys.el. It works! Thanks, I learn something new!