Vim Recall繁體中文

Move to the first character of the current line

<Home>

Example

Normal 0 / 1
  one two  
Cursor on line 1, column 7

Move to the first character of the current line.

Before & after
Before
  one two  
Cursor on line 1, column 7
After
  one two  
Cursor on line 1, column 1

Start in Normal mode. A single unwrapped line; two spaces precede and follow the words.

Details & Vim help

Example replayed in Vim

Move to the first character of the current line. Use in Normal mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative. Plain Home works like 1| and is an exclusive motion. Subsequent vertical movement retains the text column when possible; this differs from 0 when the line starts with a Tab.