We can copy line with yy
and paste it using p
commands. I have seen that it is possible to move cursor to empty line, press some button and it pastes content of above line until button is released. Who can share that key combination?
I don't want to paste one line multiple times. I need to paste part of it once. It should start pasting the beginning of line while button is pressed. Alternative solution will be to copy part of it and paste in next line.
Example:
First lineeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
Move cursor under first line. It is empty. Press and keep some key. It starts to slowly paste content of first line until you release that button. I have seen it many times and was thinking that is quite known tip.