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

Is it possible to remap h,j,k to other keys because of different keyboard layout? #94

Closed
benibilme opened this issue Feb 2, 2024 · 1 comment
Labels
question Further information is requested

Comments

@benibilme
Copy link

Hello,

Since there is no discussion section, I had to ask this in this issues section. Sorry about that.
I am using non latin1 keyboard. Is it possible to remap vim default keys to something else such as h=>k, j=>k, k=>m. Of course, I would like to map some other frequently used keys to more appropriate ones according to my keyboad.

Is it possible? If yes, how can I do that? I have not seen anything in the documentation.

Thanks in advance.

@caleb-allen caleb-allen added the question Further information is requested label Feb 9, 2024
@caleb-allen
Copy link
Owner

Hey @benibilme, interesting question! And no worries, opening an issue is the right place to ask for this project.

So, my initial thought is that there is not a purpose-built feature in this package to remap keys (although there may still be a solution to your problem). In the longer term, the direction of this package will be to use neovim under the hood, at which point one could configure behavior similarly to vim/neovim.

In terms of solving your issue in the present, though, I don't think it would be too difficult to add a simple configuration option for remapping some of the keys.

You've articulated a few of the mappings you'd like to change, could you describe some of the other frequently used keys you'd like to remap? Is it solely motion commands, or would you also want to be able to remap operators (e.g. c, d)?

I ask so that I can understand how extensive a "remapping" feature would need to be.

Thanks!

@caleb-allen caleb-allen closed this as not planned Won't fix, can't repro, duplicate, stale Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants