Closed thmsaurel closed 2 months ago
I didn't say it before: thanks for this mini toolkit. I love learning/using it ❤️
:heart:
I saw that in previous related issues, you've recommended the
langmap
option. Like someone said it in #206, "langmap sounds like a workaround/hack".
Yes, this is still a recommended solution. I'd not consider this to be a hack mostly because it is more or less a documented solution, as :h langmap
contains an example of exchanging the meaning of keys within Latin alphabet.
One thing that it is lacking, though, is indeed that mappings for changing window focus might be different. But the problem with them is that <C-...>
keys have a rather convoluted relationship with keyboard layout. For example, CTRL+KEY mostly depends on where that key is placed on QWERTY keyboard and not the current layout: "o" is "щ" in Cyrillic layout, but <C-o>
is still CTRL plus "щ".
If this is implemented, I think it'll be nice if this is extended to "mini.files" and "mini.move" (maybe using one global unique table?).
The need to also extend this to other modules is precisely the argument for not adding it and instead suggesting to rely on built-in ways to remap keys. Like 'langmap'.
Closing as not planned.
Contributing guidelines
Module(s)
mini.basics (can be extended to mini.files and mini.move)
Description
Some keyboard layouts doesn't allow theirs users to use 'hjkl' as efficiently than in qwerty.
I think it would be interesting to have a sub table inside the configuration to add some motions mappings.
It'll impact "mini.basics" as follow:
If this is implemented, I think it'll be nice if this is extended to "mini.files" and "mini.move" (maybe using one global unique table?).
I saw that in previous related issues, you've recommended the
langmap
option. Like someone said it in #206, "langmap sounds like a workaround/hack". Personally, I don't like the idea of remapping all my keyboard layout to adopt a qwerty compatible one: I'm struggling enough with one layout, I don't want to learn another one (I know it's how you personally using it, sorry :pensive:).I didn't say it before: thanks for this mini toolkit. I love learning/using it :heart: