News for hackers. Stuff that matters.
Re:Vim users: stop using hjkl by kingmanaz on Friday March 01, 2013 @11:57AM (#5305380)
Same here, and I type dvorak. The hjkl keys are in a completely different location on a dvorak keyboard as opposed to qwerty, and yet I have seen a reduction in wrist pain.
Re:Vim users: stop using hjkl by juliogreff on Friday March 01, 2013 @12:18PM (#5305522)
Must be a fun exercise using hjkl on dvorak. I think I would end up remapping the whole normal mode to the same positions of a qwerty keyboard.
Re:Vim users: stop using hjkl by peeters on Friday March 01, 2013 @01:09PM (#5305878)
I used vim with colemak for a while.

It's really, really hard to customize because some commands are mapped according to their position (hjkl) and others are mapped according to their initial ("y" for "yank", e.g.).

Trying to keep both is thus impossible, as there are collisions. So your options are:

1) Preserve position, and remap everything back to its qwerty location. Downside: you have to train yourself that you're not pressing "n" for next, you're pressing "k".

2) Don't remap anything. Downside: nothing is ergonomic anymore.

3) Keep positional keys in their correct position, assign mnemonic keys when they don't collide with the positional keys and choose new mnemonics when there are collisions. Downside: only you can ever use your vim.

The best support I saw was for #3 but it ended up being a deal-breaker since I pair program (but that's OK, because using colemak itself ended up being a deal-breaker since I pair).

Re:Vim users: stop using hjkl by emileswarts on Friday March 01, 2013 @07:00PM (#5307745)
I also switched to colemak but things are still good in vim. You got your n key under your right index finger, and I use searching for long range jumps. Vim was designed for qwerty not colemak, so you do have to compensate in some areas but I feel that just the efficiency colemak provides to typing english makes up for it.
Re:Vim users: stop using hjkl by to3m on Friday March 01, 2013 @12:46PM (#5305717)
J and K are the C and V keys respectively, and H and L are the J and P keys respectively - so it's not too bad, though hardly ideal. My use of a dvorak keyboard is probably why I never bothered with H and L when using vim, and only very rarely used J and K. I just used the arrow keys, if I wanted to move one cell at a time.

(I never really saw the point of trying to make people use hjkl for cursor navigation. You should try always to use higher-level navigations commands, and if you move cell by cell, you've lost already! - so there's nothing wrong with using the arrow keys for it rather than hjkl. That is, after all, what the arrow keys are there for.)

Re:Vim users: stop using hjkl by fnordfnordfnord on Friday March 01, 2013 @01:00PM (#5305806)
Why wouldn't you remap the keys if you were interested in ergonomics?
Re:Vim users: stop using hjkl by kingmanaz on Friday March 01, 2013 @01:19PM (#5305934)
I did remap the keys at first but found that the hjkl layout for dvorak is not at all uncomfortable. I frequently jump between disparate *nix systems, and for most part use the canned nvi in preference to vim. I try to do most of my work with as generic a vi keyset as possible. Multiple screens, etc, are handled with tmux (or with screen if its the only thing available). Dvorak is defaulted on my local workstation, and as I connect through a terminal emulator, the host unix box does not know or need to know that I run dvorak or have my terminal set to amber and black, etc. In short, I try to make myself comfortable while avoiding tinkering whenever possible.