Vim moving cursor to the beginning of the next line

Lavya picture Lavya · Dec 20, 2014 · Viewed 20.3k times · Source

Vim: is there a key moving cursor to the beginning of the next line? j moves the cursor to the corresponding position of the current position in the next line. I'm looking for a single key that could move the cursor to position 0 irrespective of the cursor position in the current line.

Answer

Ingo Karkat picture Ingo Karkat · Dec 20, 2014

The + motion moves to the first non-blank character in the next ([count]) line. That fulfills your requirement if there's no indent. With indent, you can use +0 or j0.