Move to end of the current word in Vim

  • w moves you to the beginning of the next word
  • e moves you to the last letter of the word
  • i lets you start editing right where the cursor is
  • a lets you start editing one character ahead

In your situation, it seems like you want a consistent way to append to a word, even if you’re on the last letter. I’d switch to using wi instead of ea

I advise against remapping the basic vim movement controls, they are the way they are for a reason.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)