onivim / oni2

Native, lightweight modal code editor
https://v2.onivim.io
MIT License
7.84k stars 282 forks source link

Input: True chording of input keys #741

Open bryphe opened 5 years ago

bryphe commented 5 years ago

This is inspired by this Reddit thread: https://www.reddit.com/r/onivim/comments/cxkea2/key_chording_recritical_insert_mode_features/

I didn't know about this vim plugin - vim-arpeggio - but supporting truly chorded input is an interesting idea.

The example use case in the thread is to have simultaneous press of jk exit insert mode, instead of a sequential j->k. This is nice, because, unlike the sequential approach - there is no delay after pressing j in the case where it is not immediately followed up with the k.

yunti commented 5 years ago

As a bit of feedback this would a great feature for me as I use jk for escape all the time.

adrian5 commented 5 years ago

That's certainly an interesting prospect! I too use (conventional) jk to escape.