开发者

Emacs revert-buff (s-u): what is s-u?

开发者 https://www.devze.com 2023-04-09 21:36 出处:网络
The emacs help page for the M-x revert-buffer command says that it开发者_开发知识库 is bound to \"s-u\". What the heck is s-u? I know M-x is Meta-x (usually alt-x), and I know that C-x is Control-x. B

The emacs help page for the M-x revert-buffer command says that it开发者_开发知识库 is bound to "s-u". What the heck is s-u? I know M-x is Meta-x (usually alt-x), and I know that C-x is Control-x. But what is s-u?


On Mac OS X 10.6.8 (Snow Leopard) with Emacs: 23.3.1, s-u corresponds to Cmd-u.


The "s-" modifier is the "super" key, which on a standard PC keyboard is the window key.

This makes such shortcuts unusable on Windows AFAIK, but I have a few bound on my Linux.

I don't know what key this corresponds to on an Apple keyboard though.


  • What does "s-[keyname]" refer to in Emacs, and how do I tell Emacs to ignore it?
  • https://superuser.com/questions/204946/what-is-emacs-keybinding-s-u

Summary: It's your "Super" key.

(Emacs is nothing if not consistent with their naming - apparently it's usually Meta)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号