Live data from Hacker News

Vim Clutch – A hardware pedal for improved text editing (2012)

github.com

51–60 of 171 posts

Re: Vim Clutch – A hardware pedal for improved text editing (2012)

#51
post #45
post #33

Earlier quoted context omitted.

Vim should support mouse, like Midnight Commander

:set mouse=a 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)

In general yes, but there are still some cases where mouse is better than the equivalent keys. Mainly resizing splits (guess how many lines you want and then C-w |, vs just dragging the divider).

:set ttymouse=sgr also makes it a lot smoother.

Re: Vim Clutch – A hardware pedal for improved text editing (2012)

#52
post #50

Earlier quoted context omitted.

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.

> Is shift-S faster than cc? The keys are farther away from each other 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.

Your pinky rests on the shift key? My touch-typing teacher would have smacked my fingers with a ruler. :)

Re: Vim Clutch – A hardware pedal for improved text editing (2012)

#53
post #50

Earlier quoted context omitted.

> Is shift-S faster than cc? The keys are farther away from each other 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.

Your pinky rests on the shift key? My touch-typing teacher would have smacked my fingers with a ruler. :)

I guess it's a habit from using the left Shift (and left Ctrl) a lot more frequently than the "A". If I just used the keyboard for writing text, perhaps resting on "A" would make more sense for me.

Re: Vim Clutch – A hardware pedal for improved text editing (2012)

#54

Does this go well a standing desk?

When using a standing desk, I prefer to use a glute squeezer device to switch modes. It feels much more natural, and improves the muscle tone as a bonus.

Amen. It took me weeks of practice before I could produce distinct "control", "alt", and "shift" squeezes, but now I've taken my coding to an entirely new level.

Re: Vim Clutch – A hardware pedal for improved text editing (2012)

#55

This 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…

I think 3 pedals are suggested: I, i and A

Re: Vim Clutch – A hardware pedal for improved text editing (2012)

#56
post #26

This 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.

Organ pedals would work for that. I think typically those just use magnets and reed switches (when connected electronically rather than mechanically).

Not to be confused with reed organs, which usually just have one big pedal that operates the bellows. Though sometimes they also have levers you can push to the side with your knee.

Re: Vim Clutch – A hardware pedal for improved text editing (2012)

#57
post #6

Nice idea but ridiculously wimpy switch. Rig up one of these American made beauties instead. https://www.amazon.com/SSC-Controls-G500-MO-Electrical-Indus... from experience: they're way more satisfying to press and oil/water/dust tight. EDIT: fixed link. this pedal is also OSHA approved with a safety cap to prevent objects from falling onto the switch and triggering insert mode.

Skookum UX

Re: Vim Clutch – A hardware pedal for improved text editing (2012)

#58
post #26

This 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.

Imagine that with emacs: it's easy! Simply double-clutch the "Ctrl" and "Super" pedals while pressing Alt+Shift+T on the keyboard to open a new block context and auto-indent to the correct tab stop. ;)

Re: Vim Clutch – A hardware pedal for improved text editing (2012)

#59

This 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…

I've been using Vim regularly for the last six years and I still learn new, basic things.

Thanks for that.

Re: Vim Clutch – A hardware pedal for improved text editing (2012)

#60
Years ago I learnt about a stock dealing company in my country which was experimenting with pedals for their operators. Sadly, I cant't find a link now. But I found that interesting. Could be useful on certain applications in which users have to quickly respond to unexpected events by switching to particular tasks (without having to search for them through ALT+TABbing). I don't know, just speculating here.

I like it, probably wouldn't use it on Vim, but I see potential in other applications.

Post reply on HN