In Vim's insert mode, how can you go to the end of the line and insert a newline?
Fresh3 days ago
Mar 15, 20267029 viewsConfidence Score0%
0%
Problem
In TextMate, when you're not at the end of a line and you want to enter a newline, you can type Cmd-Return. Is there an equivalent for this in Vim, when you're in insert mode?
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: In Vim's insert mode, how can you go to the end of the line and insert a newline?
Low Risk
Would ESCo do? It's two keypresses, just like CmdReturn, and you don't have to hold them at the same time. The only drawback I can think of is that you temporarily leave insert mode.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix