alevchuk / vim-clutch

A hardware pedal for improved text editing in Vim
3.55k stars 53 forks source link

[Feature Request] There should be a double pedal press #29

Open ebarreraz opened 6 years ago

ebarreraz commented 6 years ago

Like mouse double click, there should be a double pedal press that could make some actions like delete until the end of the line

bzbzh commented 6 years ago

Here is the way I would make it:

On pedal left: short press: entering a mode long press: entering A mode On pedal right: short press: entering i mode long press: entering I mode

After that, any press leaves insert mode. Never have to keep pressing.

May be a middle pedal for O and o.

mhalano commented 3 years ago

There are serious limitations about what hardware can do. You press the pedal and a key, key modifier, or small string is typed like a regular keyboard. The hack was to put together two sensors so press and release work together.