I use a foot pedal for copy and paste operations when I want to give my hands a rest and to distribute heavy editing duties over to my feet when the occasion arises. https://superuser.com/a/1486751
Vim Clutch – A hardware pedal for improved text editing (2012)
41–50 of 171 posts
Re: Vim Clutch – A hardware pedal for improved text editing (2012)
#42This is cool and all, but nearly useless for any experienced vimmer. I almost never press `i` to enter insert mode, and I don't expect most vimmers to do so either. My most common ways to enter insert mode are, off the top of my head... o -- Open new line below current line, enter insert mode. O -- Open new line above current line, enter insert mode. ci( -- Delete all text between the nearest parenthesis and enter in…
seems like it would be awfully slow for any experienced vimmer also. Seems like a really bad idea for a foot pedal / vim integration. A, possibly, much better idea would be if you press the pedal, is turn the hjkl keys into sending actual arrow key keycodes so those annoying times when you need to arrow through OS menus etc you can use your vim instincts. Not that I'd ever want to incorporate a foot pedal myself, but…
I've got a question there actually. The only thing that throws off my flow while using Vim is exiting insert mode, as my keyboard has an inconvenient esc key. Is there a better way to exit? I've done some cursory looking but haven't found anything that looks useful.
(Remapping my keyboard isn't a viable option, as I game on my machine sometimes, and occasionally need weirdly specific keys.)
Re: Vim Clutch – A hardware pedal for improved text editing (2012)
#43This is cool and all, but nearly useless for any experienced vimmer. I almost never press `i` to enter insert mode, and I don't expect most vimmers to do so either. My most common ways to enter insert mode are, off the top of my head... o -- Open new line below current line, enter insert mode. O -- Open new line above current line, enter insert mode. ci( -- Delete all text between the nearest parenthesis and enter in…
Minor improvement, cc can be replaced by S
Re: Vim Clutch – A hardware pedal for improved text editing (2012)
#44Earlier quoted context omitted.
seems like it would be awfully slow for any experienced vimmer also. Seems like a really bad idea for a foot pedal / vim integration. A, possibly, much better idea would be if you press the pedal, is turn the hjkl keys into sending actual arrow key keycodes so those annoying times when you need to arrow through OS menus etc you can use your vim instincts. Not that I'd ever want to incorporate a foot pedal myself, but…
> if you are having trouble with getting into and out of insert mode, maybe Vim isn't for you. I've got a question there actually. The only thing that throws off my flow while using Vim is exiting insert mode, as my keyboard has an inconvenient esc key. Is there a better way to exit? I've done some cursory looking but haven't found anything that looks useful. (Remapping my keyboard isn't a viable option, as I game on…
> Remapping my keyboard isn't a viable option, as I game on my machine sometimes
You can also map something specifically on vim with :imap/:vmap/:cmap.
Re: Vim Clutch – A hardware pedal for improved text editing (2012)
#45Earlier quoted context omitted.
Seems like you just need more pedals.
Vim should support mouse, like Midnight Commander
And away you go. As you get more efficient at vim use you might find you want to turn that off again.
(and also without the colon in your vimrc file if you want it to stick)
Re: Vim Clutch – A hardware pedal for improved text editing (2012)
#46Earlier quoted context omitted.
seems like it would be awfully slow for any experienced vimmer also. Seems like a really bad idea for a foot pedal / vim integration. A, possibly, much better idea would be if you press the pedal, is turn the hjkl keys into sending actual arrow key keycodes so those annoying times when you need to arrow through OS menus etc you can use your vim instincts. Not that I'd ever want to incorporate a foot pedal myself, but…
> if you are having trouble with getting into and out of insert mode, maybe Vim isn't for you. I've got a question there actually. The only thing that throws off my flow while using Vim is exiting insert mode, as my keyboard has an inconvenient esc key. Is there a better way to exit? I've done some cursory looking but haven't found anything that looks useful. (Remapping my keyboard isn't a viable option, as I game on…
" Map jk to ESC in insert mode
inoremap jk
Once you've finished what you wanted to insert just hit jk. The combination never occurs in the English language and is right on the home row :)
Re: Vim Clutch – A hardware pedal for improved text editing (2012)
#47Vim Clutch – A hardware pedal for improved text editing (2012) - https://news.ycombinator.com/item?id=16563210 - March 2018 (261 comments)
Vim clutch - https://news.ycombinator.com/item?id=4141410 - June 2012 (219 comments)
Re: Vim Clutch – A hardware pedal for improved text editing (2012)
#48This is cool and all, but nearly useless for any experienced vimmer. I almost never press `i` to enter insert mode, and I don't expect most vimmers to do so either. My most common ways to enter insert mode are, off the top of my head... o -- Open new line below current line, enter insert mode. O -- Open new line above current line, enter insert mode. ci( -- Delete all text between the nearest parenthesis and enter in…
Seems like you just need more pedals.
But maybe you'd be more efficient with a chording setup...
Re: Vim Clutch – A hardware pedal for improved text editing (2012)
#49Re: Vim Clutch – A hardware pedal for improved text editing (2012)
#50Earlier quoted context omitted.
Minor improvement, cc can be replaced by S
Is shift-S faster than cc? The keys are farther away from each other, but I guess you can get some bonus by pressing them "in parallel"... For me, cc feels faster. Although I might feel differently if it was, say pp vs shift-S.
In my case, my left pinky rests on the shift and my left ring-finger rests on the "s", so shift-S is just pressing the keys my fingers are already resting on.