I'm basically trying to figure out how to use keyboard-translate in Emacs to make M-- do the same thing as M-/
How do I go about doing this?
(define-key key-translation-map (kbd "M--") (kbd "M-/"))
If you use the kbd macro, you can use the string representation of the desired key sequence from the C-h k help text.
kbd
C-h k
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
By posting your answer, you agree to the privacy policy and terms of service.
tagged
asked
1 year ago
viewed
131 times
active
Get the weekly newsletter!
see an example newsletter
By subscribing, you agree to the privacy policy and terms of service.