DEV Community

Discussion on: Vim A to Z - Literally

Collapse
 
caruso profile image
Giuseppe Caruso • Edited

Tim Pope's Vim Unimpaired has a nice shortcut (among some other very useful ones) to add empty lines above or below current one:

There are linewise mappings. [<Space> and ]<Space> add newlines before and after the cursor line. [e and ]e exchange the current line with the one above or below it.

Collapse
 
omerxx profile image
Omer Hamerman

This is fantastic. That's why I love this community. Thanks buddy

Collapse
 
caruso profile image
Giuseppe Caruso

Thanks to you for taking the time to write this article. #vim rocks.