Hacker News new | ask | show | jobs
by dmix 2212 days ago
I was curious about vim as well. I wonder if the defaults of vi are somehow optimized for QWERTY.

This thread convinced me to try switching to Dvorak but I'm a bit scared after reading your comment. It's not clear from your comment, did you switch back to QWERTY or are you still giving it a shot?

3 comments

> I was curious about vim as well. I wonder if the defaults of vi are somehow optimized for QWERTY.

A few are, such an hjkl being on the home row, but the rest are more semantic (for example, "t" is "unTil", "f" is "From", "a" is "append", "i" is "insert", etc. So all of those lend themselves to muscle memory from repeated use but aren't particularly better or worse on any keyboard layout. Dvorak keeps "j" and "k" together (in the place where "c" and "v" are, respectively), which is a nice touch.

> This thread convinced me to try switching to Dvorak but I'm a bit scared after reading your comment. It's not clear from your comment, did you switch back to QWERTY or are you still giving it a shot?

I switched to Dvorak about a month ago, and have no plans to switch back! It is a definite improvement in comfort, which I expect to translate to a speed improvement eventually. Nowadays when I type anything at all in QWERTY I wonder how I ever put up with contorting my fingers into such strange shapes to type the simplest words -- not to mention how so many words have almost zero hand alternation.

I've used dvorak & vim for 15 years with mostly default vim bindings. I don't think there's any problem. (I also use emacs with evil)
> I wonder if the defaults of vi are somehow optimized for QWERTY.

Only hjkl for movement. Everything else is fine.

I still wouldn't make the switch again. You'd get more millage from spending the ~2 weeks doing a bunch of speed typing practice with qwerty.

The problem is that most of the typing in vim is based on muscle memory ... thinking about it I have no idea what the keys I use for commenting out code.

I tried to learn Dvorak and later Neo ... Not being able to use Ctrl-C, Ctrl-V like I was used to was annoying ... not being able to use vim anymore was the reason I stayed with QWERTY (QWERTZ in German).

That Ctrl key muscle memory is why Colemak made the explicit decision to leave all of ZXCVB in the same place as QWERTY.

A lot of Vim is mnemonic and while relearning the muscle memory is tough, relearning the mnemonics can be useful to reinforce what you know about Vim.

(Just maybe don't make the mistake I made at one point of trying a "remap the world" configuration, learning entirely new mnemonics for classic operations, and then realizing maybe too late I'd prefer a smaller remapped config. Unlearning the wrong mnemonics is hard.)