If you’re in the default terminal app, you’ll need to go to the keyboard 
settings and change option to meta instead of the default :)

On Sat, Mar 6, 2021 at 14:27, Haodong Du <duhd1...@gmail.com> wrote:

> Hi All,
> I'm wondering if there is a way to enable meta key for vim on mac. I'm using 
> it from terminal. I read an earlier post in the mail list about MavVim.app 
> GUI. But I want to stick to the stock Vim. What I have found out working:
>
> 1. NeoVim works with <M-x> out of the box. Of course you need to turn on Meta 
> emulation of your terminal.
> 2. Vim works with <M-n>-->˜ kind of mapping when turning meta emulation off.
> 3. Vim works with <ESC>n kind of mapping when turning meta emulation on.
>
> So far, my best option seems to use <ESC>n types of mapping. But not sure if 
> this kind of mapping works with linux or not. Also for plugins using Meta, I 
> have to remap manually. I hope there are better options to have Meta natively 
> on Mac.
>
> Regards,
> Haodong Du
>
> --
> --
> You received this message from the "vim_mac" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> ---
> You received this message because you are subscribed to the Google Groups 
> "vim_mac" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to vim_mac+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> [https://groups.google.com/d/msgid/vim_mac/7a504a47-a86e-43a9-b017-b3ed4ce5ede1n%40googlegroups.com](https://groups.google.com/d/msgid/vim_mac/7a504a47-a86e-43a9-b017-b3ed4ce5ede1n%40googlegroups.com?utm_medium=email&utm_source=footer).

-- 
-- 
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_mac+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_mac/F0_yNBdm9hBt8ZgX1RDXu8I-5uFopBB_q5BHixOBlyH9uhqnfI204PnG1oqI8LupSlq_jy5TQVgdWzMEWcQaYtjma_9qKZNU0nLJ_bnJ9BA%3D%40monokro.me.

Reply via email to