alevchuk / vim-clutch

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

isn't vim nnoremap solves problem of second pedal? #17

Closed sandric closed 9 years ago

sandric commented 9 years ago

I also have two pedals for typing, along with my homemade arduino-based keyboard remapper, but I'm using right pedal for shift, and left for esc, but to be able to switch to insert mode back if I jumped to normal before using pedal, you can just write in your .vimrc

noremap <Esc> i

Works great for me)

alevchuk commented 9 years ago

Vim-clutch is designed to work without any changes to the Vim configuration. And with just one pedal.

It just sends <Esc> i on pedal down, and <Esc> when you release it.

The idea is that one has to hold the pedal down while typing, but to get back to normal more (e.g. for navigating) one just releases the pedal.

sandric commented 9 years ago

oh. now I get it, thx). Actually I think I'll even try it now.