Named keys must be written in angle brackets as follows:
(kbd "s-<up>")
Exceptions are RET, SPC, TAB, DEL, LFD, ESCand NUL, which must be in uppercase. See the Documentation for edmacro-mode( C-h f edmacro-mode) for a more complete explanation of the kbdaccepts syntax .
Also note that the prefix s-is for the super modifier, and s-for shifting.
source
share