Live data from Hacker News

Vim clutch

github.com

81–90 of 227 posts

Re: Vim clutch

#81
post #59
post #57

Earlier quoted context omitted.

If you use KeyRemap4MacBook[1] you can map caps lock to Ctrl, but also map just tapping caps lock to escape. Be warned, the only problem with this set up is that it's so good that you'll have trouble using another one; I disabled it when I got a thinkpad and starting doing about 50% of my development on my x220 instead. After that I changed to using ctrl-[ or ctrl-c in place of escape for most everything. [1] http://…

Ah, ctrl-c for esc is a good idea.

Only problem with ctrl-c is that it doesn't function exactly like escape(for example, if you're inserting text on multiple lines in visual block mode, ctrl-c will only insert the text on one line and cancel the command, whereas ctrl-[ or escape will properly insert the text). If that's a problem for you, you can rebind ctrl-c to actually work as escape. Either way, I find it quite comfortable.

Re: Vim clutch

#82

Excellent! Foot/extremities-that-aren't-finger controllers are a space that is ripe for innovation. Similar ideas came up quite a few times in the recent MaKey MaKey design competition: http://www.makeymakey.com/forums/index.php?topic=211.msg310#... http://www.makeymakey.com/forums/index.php?topic=53.msg65#ms... http://www.makeymakey.com/forums/index.php?topic=285.msg412#... http://www.makeymakey.com/forums/index.php…

Ok, what other extremities-that-aren't-fingers|foot were you referring to? ;-)

Re: Vim clutch

#83

Excellent! Foot/extremities-that-aren't-finger controllers are a space that is ripe for innovation. Similar ideas came up quite a few times in the recent MaKey MaKey design competition: http://www.makeymakey.com/forums/index.php?topic=211.msg310#... http://www.makeymakey.com/forums/index.php?topic=53.msg65#ms... http://www.makeymakey.com/forums/index.php?topic=285.msg412#... http://www.makeymakey.com/forums/index.php…

Ok, what other extremities-that-aren't-fingers|foot were you referring to? ;-)

I'm developing a nose-pedal that you place in front of the macbook, right underneath the touchpad.

Re: Vim clutch

#84
Top marks for utilising feet for inputting. We have grown lazy with smartphones almost limiting our interaction to a shake of the wrist.

Could a neck collar or head band be developed to perform similar tasks? Eg you move your head left or right to navigate web sites.

Re: Vim clutch

#85
This would actually help Emacs more than vim since you need to hold down the modifier keys while typing commands, where in vim you don't. Several people have done things like this for Emacs but I've lost the links to any info about it.

Re: Vim clutch

#86
post #83

Earlier quoted context omitted.

Ok, what other extremities-that-aren't-fingers|foot were you referring to? ;-)

I'm developing a nose-pedal that you place in front of the macbook, right underneath the touchpad.

For controlling your computer while you slam your head on the desk in frustration?

Re: Vim clutch

#87
post #65

I don't know how this would work out ergonomically. My dad is a cab driver and he often complains that pressing the clutch with his foot often giving him RSI kind of pain. But however I think this is purely subjective. From an experiment perspective, this is really cool! And this generally qualifies into what could one call a 'real hack'. This has a air of freshness to it. Now the real power of vim is in getting into…

>> I don't know how this would work out ergonomically. My dad is a cab driver and he often complains that pressing the clutch with his foot often giving him RSI kind of pain.

I think the car clutch is more related to the force required to press it - it's kind of a long, slow push with lots of pressure AND control at the same time. This seems like a button, on/off-type deal - more like tapping your foot than squeezing a clutch.

Re: Vim clutch

#89
post #60

Earlier quoted context omitted.

Just out of interest, how often are you really using the ctrl key in a Vim session? My CapsLock is mapped to ESC, which I hit at the end of every edit (so several times per minute), but I don't think I use ctrl much at all. OTOH I have heard Emacs users need Ctrl/Alt constantly while editing.

I use Ctrl-P/Ctrl-N for autocomplete all the time.

Really should map to tab. Actually should be using super tab or the like.

Re: Vim clutch

#90
post #65

I don't know how this would work out ergonomically. My dad is a cab driver and he often complains that pressing the clutch with his foot often giving him RSI kind of pain. But however I think this is purely subjective. From an experiment perspective, this is really cool! And this generally qualifies into what could one call a 'real hack'. This has a air of freshness to it. Now the real power of vim is in getting into…

You can start thinking in vim by reading this answer on stack overflow: http://stackoverflow.com/a/1220118

Moving word wise,(w,e) is used a lot.

Next occurrence of word under cursor is useful. *,#

Learning effective macros is extremely useful.

di" is one of my favorite commands. Delete everything inside the quotes not including the quotes.

Put inoremap jj into your .vimrc so that you can press jj quickly in insert mode instead of Esc.

Remap your arrow keys to nop and get proficient with it; this feels like I am editing super fast. A lot of editor time can be spent with your hands on home row without ever leaving.

Post reply on HN