4/10/2023 0 Comments Alt on macbook keyboard![]() ![]() ! Super_L is already mod4 on my system, but Super_R is not Put the following into your ~/.Xmodmap file (create if necessary). Obviously this trick only works if you don’t use the Windows/Menu/Penguin/whatever keys. X doesn’t even know about the Windows/Menu keys anymore, and Emacs works you would expect it to. Select a pc101 keyboard type instead of a pc104. If you’re using XFree86 4, you can get a similar effect by putting something like this in XF86Config-4: Section "InputDevice" SettingMetaWithXKB – Using XKB to set the meta key.If using X11, another XModMap config… (Just in case the first didn’t work… for me at least!).Change all Emacs keybindings from Meta to Alt (don’t!). ![]() On some ports, Emacs finds an existing Meta key and no longer treats Alt as the Meta key. Well, if running EmacsOnTerminal, better see below. The ESC key can be used as a prefix, and often works without initial hassle. On Macintoshes meta is often the Option key, which often is caught for other purposes. In some distributions, this is the Windows key, or a Penguin key on some keyboards. If your Emacs does not recognize your Alt key as the Meta key anymore, then you probably have some other key bound to Meta. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |