Reputation: 13143
You can pull a line up in vim using Shift + j at the current line. How do you do the reverse i.e put all the words following cursor below the current line ?
Upvotes: 4
Views: 870
Reputation: 196826
I go to the whitespace where I want to cut the line and hit r<CR>
.
Upvotes: 9
Reputation: 53901
Doing this is a pretty simple, most people just enter insert mode, stick a newline in there and return to normal mode like this i<entr><esc>
There isn't a faster way to do this, however if you really want, you can map this to a key in your vimrc.
Upvotes: 2