I am using emacs in Ubuntu. How can I remap META to the ALT key?
From SecureCRT's menu, choose Options | Session Options. Under Emulation | Emacs, select Use Alt as Meta key. Select OK.
The META key is sometimes labelled ALT . If you do not have it, press ESCAPE instead, followed by, say, x . frame: the rectangular "area" in which Emacs runs; Emacs starts with only one, but you can create more (look under the menu Files, or type C-x 5 2 ).
The meta key is a key on some keyboards, normally located next to the spacebar, that performs special functions when combined with another key. It originated on keyboards for Lisp computers in the 1960s, and its use continued on Sun computers where the key was marked with a diamond shape.
1 Answer. Show activity on this post. If you do :help key-notation in vim, you'll see that the only modifiers Vim recognizes are shift, control, alt/meta (treated as synonyms), and the Mac command key.
If using a Mac, open up terminal then navigate to Terminal > Preferences
. Under the profiles tab, check the checkbox on Use Option as Meta Key
. See screenshot
That should do the trick.
Usually Meta
is mapped to the Alt
key by default.
What is displayed in the echo area at the bottom of the Emacs window when you type Alt+X
? If you see M-x
then Alt
is working as Meta
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With