3 ms·
For the first, you need to do a 0yt$ .. this will yank to endline, but not include it. The whole line can then be pasted into another without breaking it. The
by minikomi 15y ago
For the first, you need to do a 0yt$ .. this will yank to endline, but not include it. The whole line can then be pasted into another without breaking it.
The 2nd can be o/O<esc>p .. Maybe there's a more elegant way though!
You could bind these to, say, <leader>p and <leader>P, if you find yourself doing it a lot.