> If I use neovim the mapping works as expected.
> With vim it does not.  Same terminal and settings.
> I am using a terminal that has modifyOtherKeys set to 2.
> I have made sure t_TI and t_TE are set to the above as described in the 
> help.
> I have also checked with some other programs that show the key pressed as 
> 'M-y'
> 
> Does a simple nmap like <A-y> k (or <M-y>) work for you in vim ?
> The mapping does not complain or report any issue, it just does not work.
> If I use nmap <Esc>y k it works.
> I am sure many would say go away and just use <Esc>y or set <F22> = "\ey" 
> and nmap <F22> <A-y>.
> Its all ok - I just thought vim would support the <A-y> or <M-y> mapping as 
> I've configured it.
> Perhaps its some other setting that vim requires that I need to keep 
> researching ?

This sounds like you have "meta sends escape" enabled, which can cause
various problems.  So first thing is to disable that.

Also see https://github.com/vim/vim/issues/5200

-- 
hundred-and-one symptoms of being an internet addict:
82. AT&T names you Customer of the Month for the third consecutive time.

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/202104071701.137H1FjS3650044%40masaka.moolenaar.net.

Reply via email to