win-vind icon indicating copy to clipboard operation
win-vind copied to clipboard

Question: remapping <esc-down> etc.?

Open gilbh opened this issue 2 years ago • 2 comments

Hi,

I am trying to map to always switch to RESIDENT.

Here's my .vindrc:

inoremap <alt-down> <f19>
ennoremap <f19> to_resident

It does not work, what am I doing wrong?

Also: is there a way to apply this to all modes automatically?

Thanks Gil

gilbh avatar May 19 '22 11:05 gilbh

Sorry I have been so busy lately.

Mapping cannot cross modes except for macro.

What does it mean to "always switch to RESIDENT"? Do you mean the following settings?

inoremap <alt-down> to_resident
ennoremap <alt-down> to_resident

In the future, I'll add something that defines multiple modes at the same time without mode prefixes ike Vim (e.g. noremap).

pit-ray avatar May 19 '22 22:05 pit-ray

Thanks for coming back!!

Yes, this works for now, and let me know if you implement multiple mode mappings.

Keep on doing this great work! I work with Vind a lot!

gilbh avatar May 20 '22 00:05 gilbh