How to paste in the line where the cursor is?

后端 未结 10 1247
心在旅途
心在旅途 2020-12-04 11:26

The command p pastes below the cursor and P pastes above the cursor. What\'s the command to paste in the line where cursor is?

10条回答
  •  被撕碎了的回忆
    2020-12-04 11:56

    Shift + v will select the entire line, but you don't want to do that. Instead, press CTRL + v from the beginning of the line which will select by character, then $ to select to the end of the line. yank y and paste p.

提交回复
热议问题