3 ms·
With custom layouts how do you deal with editor shortcuts? I tried Dvorak but the cost of losing vim muscle memory was too high for me. Do you remap editor shor
by vander_elst 3y ago
With custom layouts how do you deal with editor shortcuts? I tried Dvorak but the cost of losing vim muscle memory was too high for me. Do you remap editor shortcuts (e.g. hjkl navigation) or do you learn the new positions from scratch?
- moozilla 3y agoColemak user here, one of nicest things about Colemak IMO is that the ZXCV keys on the bottom row stay in the same location. I tried out a variant for a while that had XCDVZ and my brain could never get used to it. For other common shortcuts (Ctrl+T when browsing, Ctrl+F, etc) I didn't find it too hard; I guess some shortcuts are more muscle memory and others are associated with the letter in my mind. I will say, having learned Colemak early on has made me give up on learning vim more than once for the same reason you highlighted -- I want to have my navigation on the homerow but the burden of remapping all of the keys without knowing what I'm doing was too high. I've heard that many people just use hjkl in the standard Colemak positions and don't remap keys at all, but that seems crazy to me, since they are spread all over and J is in the worst possible spot on the keyboard.
- lawn 3y agoI (the post author) designed the layout with Vim in mind, so I placed hjkl in decent spots and added som Vim specific combos. But other than that I just learned all the positions from scratch. For me it's not so much the positions I think about, but the mnemonics. For example "d" deletes, so I just have to think "press d", not "press this key in this spot. So learn the new layout and the Vim commands will follow.
- myaccountonhn 3y agoI use Colemak and learnt the new positions. It’s easier since I use it in combination with other tools (aerc, tig). Now it’s second nature.