Vim Recall繁體中文

Move up by lines

k

Example

Normal 0 / 1
one two three
four five six
seven eight nine
Cursor on line 2, column 5

Move up by lines.

Before & after
Before
one two three
four five six
seven eight nine
Cursor on line 2, column 5
After
one two three
four five six
seven eight nine
Cursor on line 1, column 5

Start in Normal mode.

Details & Vim help

Example replayed in Vim

Move up by lines. Use in Normal mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.