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.
feedback
|
|
The definition of your request is Logically when inserting a new line above would be To insert before the curser: The closest I think you'll come is | |||||||||||
feedback
|
|
You can map whatever key or key sequence you like to
this inserts a blank line above the current one keeping you in normal mode and without changing cursor position. | |||||
|
feedback
|
It won't move the cursor, it will let you insert as many lines (empty or not) as you wish, and it won't modify the previous position mark.
| |||||
feedback
|