Christian, hi
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 ?
thx,
-m