2

In normal mode "+p can paste content in + regiter to text file ,+p can't paste content from clipboard to text file in ex mode,how can?

:reg +
--- Registers ---
"+   smartphone

There is a word smartphone in my register +. The original text contain two lines,cursor is at the beginning of the third line.

line1
line2

In normal mode "+p will add a line containning word smartphone ,it is like the below:

line1
line2
smartphone

Now i move cursor to the beginning of the fourth line,turn into ex mode(type shift and :),go on to type what command and click enter can add one more smartphone?

line1
line2
smartphone
smartphone
1
  • Please clarify question.
    – vanadium
    Sep 8, 2018 at 10:54

1 Answer 1

3

Try using 'put' command

:put +
1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .