aapomm / running-vim

Javascript game to help people practice vim navigation
2 stars 3 forks source link

Remove the ability to jump using 'w'/'e' to an empty space at end of line #8

Open aapomm opened 8 years ago

aapomm commented 8 years ago

Skipping to an empty space seems unintuitive for the purposes of word movements. This would also discourage spamming w or e throughout the game.

zseiman commented 8 years ago

Do you mean complete removal of the feature or modification? Like skipping to the end of a word while on a character in the same word?

aapomm commented 8 years ago

Nope! I think I can better explain this with pictures.

w-jump

In this example, if we press the w button, the cursor will jump to the right most empty space. That's what I want to stop from happening in this issue.

e-jump

Same with this example, if we press e, the cursor will jump to the right most empty space.

zseiman commented 8 years ago

I see. What is the intended purpose of the W and E keys?

chuckoy commented 8 years ago

@zseiman The 'W' key moves the cursor to the beginning of the next word. The E key moves the cursor to the end of the current word (if already at the end, move to the end of the next word).