Vim Recall繁體中文

Open a line above

O

Example

Normal 0 / 3
red
Cursor on line 1, column 1

Create a line above and enter Insert mode.

Before & after
Before
red
Cursor on line 1, column 1
After
blue
red
Cursor on line 1, column 4

Start in Normal mode. Cursor starts on r. With automatic indentation disabled, type Oblue, then Esc.

Details & Vim help

Example replayed in Vim

Create a line above and enter Insert mode.

O is the uppercase counterpart of o. Indentation and comment continuation depend on your options.