In Vim/Vi, how do you move the cursor to the end of the previous word?

前端 未结 4 720
隐瞒了意图╮
隐瞒了意图╮ 2021-01-29 22:30

In Vim\'s normal mode:

  • e goes to the end of the next word
  • w goes to the beginning of the next word
  • b goes to the
4条回答
  •  旧时难觅i
    2021-01-29 23:17

    Try ge:

    ge                      Backward to the end of word [count] |inclusive|.
    
                                                            *gE*
    gE                      Backward to the end of WORD [count] |inclusive|.
    

提交回复
热议问题