Live data from Hacker News

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

github.com

101–110 of 171 posts

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

#101
Thought how great, for a split-second. But key for being 24/7 in front my computer with zero issues for decades is among other things—I move all the time, hence I need a keyboard which moves all the way with me and you can imagine that my feet are also moving their location and nobody wants to arrange all the foot paddles every time you move. And in these times in your home office it's great to put your feet up here and then.

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

#102
post #101

Thought how great, for a split-second. But key for being 24/7 in front my computer with zero issues for decades is among other things—I move all the time, hence I need a keyboard which moves all the way with me and you can imagine that my feet are also moving their location and nobody wants to arrange all the foot paddles every time you move. And in these times in your home office it's great to put your feet up here…

Combine the camera for a facial expression based input instead? Grimace to change modes?

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

#103
post #71

Is there a Vim speed editing contests? I'd love to watch one. And Vim vs Sublime Text too :)

Suddenly I'm imagining a huge stadium filled with vim-users, watching a duel between to vim-masters — e-sport-style. Would actually be fun to watch!

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

#104
post #101

Thought how great, for a split-second. But key for being 24/7 in front my computer with zero issues for decades is among other things—I move all the time, hence I need a keyboard which moves all the way with me and you can imagine that my feet are also moving their location and nobody wants to arrange all the foot paddles every time you move. And in these times in your home office it's great to put your feet up here…

Combine the camera for a facial expression based input instead? Grimace to change modes?

IDK I am totally fine with i, I and A haha and the brain is also faster when processing chords from the fingers only. If you blend feet or even just thumb strokes in you significantly slow down.

edit: just thinking of piano players, maybe I am wrong but this thing feels odd

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

#105
post #82

Earlier quoted context omitted.

No joke, a piano style set of three footpedals with Meta, Ctrl, and Hyper, is something I would actually use. Tricky though, because it would have to talk to the keyboard, not the computer.

> Tricky though, because it would have to talk to the keyboard, not the computer. No it wouldn't. It works to press the modifier on one keyboard and the other keys on another keyboard. Source: I have a set of 3 footpedals that I have as Ctrl, Shift, and Meta.

whoa!

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

#106
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,…

Or with a regular text editor: Shift+ctrl+ Way easier than either vim or emacs

Regular search?

I do '/ bar' on my emacs setup (Doom)

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

#107
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,…

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 involved in Emacs when compared to Vim. The Vim input sequence is just : to invoke the command line mode, followed by an ed-style substitute command. However, the Emacs input sequence is M-Also, there is evil-mode in Evil for those who really want the Vim-editing experience along with the power of extensibility that Emacs offers.

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

#108
post #77

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…

To add to this ci works for all sorts of things like [ { There’s also di (delete in) and vi (visual select in) and probably a ton of others that I don’t know about. I’ll never know all of the wonderful ways to use vim

ci also can take a number for nesting level. For example, c2i( will change within the second level of surrounding parens rather than the innermost

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

#109
post #36

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…

ce - change to end of word (consecutive identifier chars or consecutive punctuation) cE - change to end of WORD (consecutive non-whitespace chars) Those are probably the most common for me because I tend to navigate by word/WORD in a line with w, b, W, B.

I need to get in the habit of using those. I tend to do ct

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

#110
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,…

Consider remapping ';' to ':' if you use vim a lot. Something like: " Use ; rather than : for commands nore ; : nore , ;

See, I never understood these tips. If I use Vim a lot I will build muscle memory. If I build the muscle memory with these adjustments I’ll just keep tripping over myself whenever I edit a file on a station without those adjustments. And simply foregoing the shift key isn’t even that much of a time or effort save.
Post reply on HN