Haojen / vimkey

⌨️ A browser extension, use the keyboard control browsers jumps, scrolling, switching tabs and more. support Safari, Chrome, andEdge
https://haojen.github.io/vimkey
130 stars 6 forks source link

Bind multiple keybindings to the same action #32

Open domas-v opened 1 year ago

domas-v commented 1 year ago

First of - thank you for this plugin. It's a joy to use.

I have a question - is it possible to bind multiple keybindings to the same action? For instance, in vimium extension for chromium browsers, I had bound wasd as well as hjkl to scroll the website and similarly to move between tabs. I use both keybindings. Is it possible to do this in vimkey?

Haojen commented 1 year ago

@domas-v Thanks for your feedback ❤️ could you tell me why it needs multiple keybindings for the same action? if the feature may help more people I would like to add that in the following versions.

domas-v commented 1 year ago

It's just for convenience. Since I'm left handed, I use my left hand with wasd, while sometimes I work with both hands on home row and then I use hjkl. It's a nit pick, but I found it a useful thing in vimium.

Haojen commented 1 year ago

It's just for convenience. Since I'm left handed, I use my left hand with wasd, while sometimes I work with both hands on home row and then I use hjkl. It's a nit pick, but I found it a useful thing in vimium.

Thanks for sharing your experience, next version I will remove the same action key bindings check then you can bind the multiple keys to the same action. thanks again.