I have followed the guidance in Is there any way in the OS X Terminal to move the cursor word by word? and now in terminal I can move cursor word by word.
However, in Vim, I am only able to move backward word by word. I cannot move forward word by word, no matter I set \033f to option+cursor-right
or shift+cursor-right
. The only workaround I figured out is to go to normal mode and click <w>
to move to next word. Any idea about how to fix that? Thanks.
w
is not a workaround. It's the primary way to move word by word (see also: W
, b
, B
, e
, E
). What you want is a workaround that won't help you learn Vim at all.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With