Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I remap META to ALT?

Tags:

emacs

ubuntu

I am using emacs in Ubuntu. How can I remap META to the ALT key?

like image 641
David Brown Avatar asked May 11 '09 16:05

David Brown


People also ask

How do I change Meta key in Emacs?

From SecureCRT's menu, choose Options | Session Options. Under Emulation | Emacs, select Use Alt as Meta key. Select OK.

What is the Meta key in Emacs?

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 ).

Which is the Meta key?

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.

Does Vim use ALT key?

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.


2 Answers

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

user option as Meta key

That should do the trick.

like image 147
Joseph N. Avatar answered Sep 20 '22 08:09

Joseph N.


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.

like image 31
Dave Webb Avatar answered Sep 22 '22 08:09

Dave Webb