Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: remapping <esc-down> etc.? #91

Open
gilbh opened this issue May 19, 2022 · 2 comments
Open

Question: remapping <esc-down> etc.? #91

gilbh opened this issue May 19, 2022 · 2 comments
Labels
accepted Requirement understood and waiting implementation. enhancement New feature or request question Further information is requested

Comments

@gilbh
Copy link

gilbh commented May 19, 2022

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

@pit-ray
Copy link
Owner

pit-ray commented May 19, 2022

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).

@gilbh
Copy link
Author

gilbh commented May 20, 2022

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!

@pit-ray pit-ray added this to the 4.4.0 milestone Jun 9, 2022
@pit-ray pit-ray added bug Something isn't working question Further information is requested labels Jun 12, 2022
@pit-ray pit-ray removed this from the 4.4.0 milestone Sep 30, 2022
@pit-ray pit-ray added enhancement New feature or request accepted Requirement understood and waiting implementation. and removed bug Something isn't working labels Oct 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Requirement understood and waiting implementation. enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants