FG
💻 Software

Vim: insert empty line above current line (not open, i.e. without entering Insert mode)

Fresh5 days ago
Mar 15, 202635067 views
Confidence Score0%
0%

Problem

is there a way of inserting a new line above the current, without opening the line (so without entering Insert mode)? That is, like "O", but without opening.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Vim: insert empty line above current line (not open, i.e. without entering Insert mode)

Low Risk

The definition of your request is . Logically when inserting a new line above would be . To insert before the curser: After: Before the line (home): Append at the end of line: The closest I think you'll come is which will put the cursor at the begin…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment