pepers / vim-adventures

solutions to puzzles in Vim Adventures
277 stars 52 forks source link

I'd like to be able to remap keys. #20

Open Folaht opened 4 years ago

Folaht commented 4 years ago

I'd love to play this game, but not when I can't remap keys.

richardforth commented 4 years ago

LOL - I think remapping keys would miss the whole point of it, youre learning vim keystrokes not playing a video game......ok actually yes YES you ARE playing a video game BUT with a sole purpose!

The whole very point of VIM adventures is learning the vim commands and keystrokes, so remapping them is really a waste of your time because you wont be learning anything from it.

richardforth commented 4 years ago

vim is an editor on linux. this game is a way of training your muscle memory for the keystrokes required to do certain tasks in the vim editor. Really remapping keys in this game defeats the whole purpose of it. Because remapping commands in vim isnt possible either.

richardforth commented 4 years ago

If you learn to love vim, you can learn to love playing this game the way it was designed to be played.

Folaht commented 4 years ago

I'm sorry but I use vim because I can remap it's keys and remap it's commands. I use an orthogonal dvorak-like layout and I put the navigational keys to 'htns', because that's what makes the most sense to me, as it's the same place where the navigational keys are on the qwerty layout. I then further remapped all it's keys to positions that I like best. For example, 'mwvz' directly under 'htns' are my cut/copy/paste/undo keys. That's the beauty of vim.

richardforth commented 4 years ago

Ok fair enough. I was a bit hasty in my initial response. I'm coming from a place where we administer thousands of machines where Vim is installed ubiquitously and we just find it easier to learn the default key bindings.

zxaos commented 2 years ago

+1 to this from another non-qwerty layout user. Since I switched from QWERTY, I had muscle memory for HJKL and just remapped the relevant vim keys for the new layout.

Would love to refine my grasp on the later stuff vim-adventures covers but having the motion keys not match my real life setup makes it a non-starter.