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

mapKey and link hinting #1113

Closed
Opisek opened this issue Mar 24, 2024 · 3 comments
Closed

mapKey and link hinting #1113

Opisek opened this issue Mar 24, 2024 · 3 comments
Labels

Comments

@Opisek
Copy link

Opisek commented Mar 24, 2024

I use a Dvorak keyboard layout and was happy to see that I can use mapKey or the ignore keyboard layout setting to use Vimum-C with all my muscle memory.

Unfortunately, one thing still troubles me: Link hinting displays the letters after mapKey, not before. For example, on my layout, the letter o maps to the QWERTY letter s. So if a link hint tells me to press the letter o, it will apply mapKey to it and end up pressing s.

Furthermore, when I enable "Use the link's name and characters for link-hint filtering" and try typing the link name using my layout, for example "abc", it will still be remapped using mapKey to "ani" in my case.

Could a setting for disabling mapKey for link hinting be added?
Another option (for me) would be to have the option to ignore keyboard layout always, except for link hinting.

@chjayakrishnajk
Copy link

chjayakrishnajk commented May 16, 2024

Read this wiki page https://github.com/gdh1995/vimium-c/wiki/Use-in-another-keyboard-layout

i - insert mode
l - link hints
f - find mode
v - visual mode
m - marks
o - omnibar

this is the format mapkey newkey:mode
Eg: mapkey <n:v> , this will map n to j

Use mapkey in your preferred mode

@gdh1995
Copy link
Owner

gdh1995 commented May 28, 2024

Yes per-mode key will solve this. You may try mapKey <c:n> i to make it not affect LinkHints or FindMode.

And, "per-mode" mapKey rules will take precedence over plain ones.

@Opisek
Copy link
Author

Opisek commented May 30, 2024

Thanks, that's great! Somehow I missed it reading the wiki.

@Opisek Opisek closed this as completed May 30, 2024
@Opisek Opisek reopened this May 30, 2024
@Opisek Opisek closed this as completed May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants