Live data from Hacker News

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

github.com

121–130 of 171 posts

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

#123
post #107
post #95

Earlier quoted context omitted.

I know the image post in your comment exaggerates the Emacs input sequence for humorous effect but I got curious and decided to count the actual keystrokes for a real world common use case. Say, we want to replace one string with another, e.g., "foo" with "bar" as it appears in your image post. So assuming that we need simple string replacement, not regex-based replacement, and also assuming that we have vanilla Vim,…

Adding further to my previous comment: What if we really need to do regex, say replace "f.." with "bar"? The input sequences then look like this: On Vim: +; (:) +5 (%) s/f../bar/g (16 key strokes) On Emacs: + +, (M- bar +1 (!) (17 key strokes) Although, the number of key strokes are close to each other for both Vim and Emacs, I am pretty sure most beginners would feel there is a slightly increased cognitive overhead…

> Alt+Shift+5 (M-%)

You meant “Control+Alt+Shift+5 (C-M-%)”.

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

#124
post #44

Earlier quoted context omitted.

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

Ctrl-C and Ctrl-[ also work by default, but personally I use CapsLock after doing `setxkbmap -option caps:escape`. > 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.

Please note that Ctrl-C does not do the same thing as Esc or Ctrl-[. More info: https://unix.stackexchange.com/questions/53633/does-using-ct...

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

#125
post #123
post #107

Earlier quoted context omitted.

Adding further to my previous comment: What if we really need to do regex, say replace "f.." with "bar"? The input sequences then look like this: On Vim: +; (:) +5 (%) s/f../bar/g (16 key strokes) On Emacs: + +, (M- bar +1 (!) (17 key strokes) Although, the number of key strokes are close to each other for both Vim and Emacs, I am pretty sure most beginners would feel there is a slightly increased cognitive overhead…

> Alt+Shift+5 (M-%) You meant “Control+Alt+Shift+5 (C-M-%)”.

Oops! Copy-paste error. Fixed it now. Thanks for telling.

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

#127
post #26

Earlier quoted context omitted.

Seems like you just need more pedals.

Hey, maybe we could put these pedals somewhere more accessible. Like under your fingers.

Well, what makes thumb keys so great is that the thumbs are particularly independent of what your other fingers are doing. Foot switches fill the same purpose.

You can only have so many keys under your other fingers, and the more you add, the more movement will be required of your hand.

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

#129
post #95
post #70

Thank you for posting this and giving me a reason to reread my all time favorite greentext: https://i.imgur.com/WLzeQMj.png

I know the image post in your comment exaggerates the Emacs input sequence for humorous effect but I got curious and decided to count the actual keystrokes for a real world common use case. Say, we want to replace one string with another, e.g., "foo" with "bar" as it appears in your image post. So assuming that we need simple string replacement, not regex-based replacement, and also assuming that we have vanilla Vim,…

Except the emacs sequence will get you tendinitis in the long run, won't it?

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

#130
post #95

Earlier quoted context omitted.

I know the image post in your comment exaggerates the Emacs input sequence for humorous effect but I got curious and decided to count the actual keystrokes for a real world common use case. Say, we want to replace one string with another, e.g., "foo" with "bar" as it appears in your image post. So assuming that we need simple string replacement, not regex-based replacement, and also assuming that we have vanilla Vim,…

Except the emacs sequence will get you tendinitis in the long run, won't it?

That's why your rebind Caps Lock to act as your foot pedal.
Post reply on HN