search

Home  >  Q&A  >  body text

vim - jump to first word on line (non-space)

In normal mode, enter shift ^6 to move to the first non-space.
If you are in insert mode, I don’t want to switch to normal mode first. , what input can be used to jump directly to the first word of the line (non-space)?
The home key doesn’t work, no, if the beginning of the line is a space, my intention is not to go to the space at the beginning of the line, but to the non-space at the beginning of the line!

天蓬老师天蓬老师2725 days ago1029

reply all(1)I'll reply

  • 欧阳克

    欧阳克2017-06-16 09:21:27

    Try the Home button on your keyboard

    reply
    0
  • Cancelreply