Tuesday, April 6, 2021

Re: modifyOtherKeys ?

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

On Tuesday, April 6, 2021 at 2:12:34 PM UTC-4 cbl...@256bit.org wrote:



On Di, 06 Apr 2021, mckel...@gmail.com wrote:
> Hi,
>
> This setting for me still does not allow a:
>
> nmap <A-y> ...
>
> to work as I think it is supposed to in vim.
> Anyone have any suggestions ?

What exactly do you expect? What does :nmap <a-y> output?
Is this with or without modifyOtherKeys? Did you try it in an xterm or
in the GUI (gvim)?


Best,
Christian
--
Man soll nicht nur des Leibes wegen, sich an die Seit' des Weibes legen.

--
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/b08b1abd-d315-4a2f-bec7-f483fe00b052n%40googlegroups.com.

No comments:

Post a Comment