onivim / oni

Oni: Modern Modal Editing - powered by Neovim
https://www.onivim.io
MIT License
11.34k stars 298 forks source link

Input: Support chorded key-presses #1055

Open bryphe opened 6 years ago

bryphe commented 6 years ago

Today our InputManager does not handle chorded key presses, like inputManager.bind("jk", () => { ... }).

It'd be great to be able to handle this, as it would be one less case where a user has to 'eject' from Oni's input configuration to go to their init.vim.

Some considerations:

ShaneDelmore commented 6 years ago

Isn’t chorded jk and jj repeated?

bryphe commented 6 years ago

Sorry, bad example on my part - updated to reflect jk instead to make it clearer.

CrossR commented 6 years ago

Can this be closed @bryphe?