I’m trying to do this
(global-set-key (kbd "s-up") 'beginning-of-buffer)
and I get this error
error "s- must prefix a single character, not up"
How do I tell it to do this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Named keys should be written in angle brackets like this:
The exceptions to this are
RET,SPC,TAB,DEL,LFD,ESC, andNUL, which must be in uppercase. See the documentation foredmacro-mode(C-h f edmacro-mode) for a more complete explanation of the syntaxkbdaccepts.Also note that the
s-prefix is for the super modifier, andS-is for shift.